Generic Variable V_VAR1 not displaying correctly on Vera3 UI5.
-
I have created a multi-sensor + relay node that is passing two V_VAR1 and a V_LIGHT to the gateway. From the device overview I can see the two "Arduino Generic" sensors, but they are not displaying any value for the level. I know the values are being passes to the gateway since they are being reported correctly when I open the advanced tab of the sensor itself(see images). Any idea's why the Vera is not displaying the values next to the word "Level"?
This repeater node is a custom board that I posted about last month. Once everything is worked out I will be posting more details to that thread.
http://forum.mysensors.org/topic/845/surface-mount-atmega328p-au-sensor-board![Alt text][1]
![Alt text][2]
[1]: https://lh3.googleusercontent.com/3fjCULegAD1thKUJbG_-9ykoH2IvlfkfCOIspA3M2ly0SahY4bkxe8QdMx5w6W3B-k6Xjb7giac=w1896-h835
[2]: https://lh4.googleusercontent.com/zB5oGw6WYMfF3dXIkZEqR8EZiNyd4TWLGM5JROVmAdkI1d4FxCQ_A_HZHa9gsTCQfJt2J4c-uow=w1896-h835
-
You would have to create your own custom device files (which shows the VAR_x).
-
How do you define what to show for a device. I mean similar to the distance och temperature sensor? If I have a custom variable that tells number of times something has happened, how do I show it on the device itself and not only as a variable in the settings?
-
You cannot change the default Temp-device without affecting all of the same type (vera has no "override" functionality in their device definition files).
So.. what you can do is to create a new device type used by the Arduino plugin.
Here is some documentation of the files needed.
http://wiki.micasaverde.com/index.php/Luup_plugins:_Static_JSON_file
(http://wiki.micasaverde.com/index.php/Category:Development)And this is where you set your own:
https://github.com/mysensors/Vera/blob/master/L_Arduino.lua#L55