The x_vera_state capability is gone
-
toggledbitswrote on Mar 14, 2021, 6:35 PM last edited by toggledbits Mar 14, 2021, 2:36 PM
It should still be the case that the most frequently-used device types should get mappings with their most-frequently-used attributes, but now we can take our time about it. The Reactor system capabilities are just simpler wrappers for the native controller ones. Eventually, they will also facilitate moving a device from one controller type to another. If, for example, you are using the Reactor
binary_sensor
capability in a Rule, and you move that device to another controller, it should still work as abinary_sensor
on the new controller. On the other hand, if you've decided to usex_vera_svc_micasaverde-com_SecuritySensor1.Tripped
in your rule and you move the device to HomeAssistant or Hubitat, you won't get that benefit. -
@toggledbits said in The x_vera_state capability is gone:
for example, you are using the Reactor binary_sensor capability in a Rule, and you move that device to another controller, it should still work as a binary_sensor on the new controller.
Genius !
I am keeping all mine as the Reactor System ones then.
Unless there is some specific requirement where I can only use x_vera_svc_
-
@librasun said in The x_vera_state capability is gone:
I used to take pains to remove (by setting to a null value using Luup, I believe) any extraneous device parameters
So how can I manually remove this SubMasters1 Service ID ?
Looking in the list in the Entities area of MSR, that SubMasters is the only Vera plugin that I have uninstalled but a Service ID for it remains.
When I select it, it lists these devices:
Looking at those devices Variables in Vera I cannot see any Variables related to SubMasters I don't think.
Thanks
-
This post is deleted!
-
If you expand those entities and look at their attributes, you will likely find
x_vera_svc_toggledbits_com_Submasters1.xxxx
where xxxx is some name. The variables on Vera will have the same xxxx name. -
x_vera_svc_toggledbits_com_Submasters1.Random="0.5573104607556194"
So the variable is called "Random" it appears. I can see that in Vera on the Variables tab of the device.
-
It's living up to its name! Run this on your Vera, putting in the device number where indicated:
luup.variable_set( "urn:toggledbits-com:serviceId:Submasters1", "Random", nil, DEVNUM ) luup.reload()
You'll also need to restart MSR, since there's no indication from the Vera when a state variable is deleted, it can't know.
-
I vote that the above -- namely, Vera Variable Zapper -- be included among the Tools planned for MSR. Or is that too purpose-specific?
I've always hoped for a programmatic/UI means of pruning unwanted Variables from my Devices without resorting to Luup code on Vera. -
I have run that command against each device number and now all those affected devices no longer have a "Random" variable.
After restarting MSR I can now no longer see the SubMasters1 service ID so its all gone now.Thank you.
-
22/22