Thank you. I will remove % as well and report back.
I will also restart openHAB – it’s my lab setup with no z-wave devices.
Edit: It did not make a difference.
homie/examplehomiedev/$homie 3.0.1
homie/examplehomiedev/$name Example Homie Device
homie/examplehomiedev/$state ready
homie/examplehomiedev/$stats uptime,signal
homie/examplehomiedev/$stats/uptime 300
homie/examplehomiedev/$stats/signal -32
homie/examplehomiedev/$stats/interval 30
homie/examplehomiedev/$localip 172.22.22.170
homie/examplehomiedev/$mac 84:0D:8E:AB:E0:72
homie/examplehomiedev/$nodes nodeid1,nodeid2
homie/examplehomiedev/nodeid1/$name Node One
homie/examplehomiedev/nodeid1/$type customtype
homie/examplehomiedev/nodeid1/$properties doorbell,doorsensor,dimmer,dimmer2,temp,hum,precip,wind
<snip>
homie/examplehomiedev/nodeid1/dimmer/$name Dimmer
homie/examplehomiedev/nodeid1/dimmer/$settable true
homie/examplehomiedev/nodeid1/dimmer/$retained true
homie/examplehomiedev/nodeid1/dimmer/$datatype integer
homie/examplehomiedev/nodeid1/dimmer/$format 0:100
<snip>
homie/examplehomiedev/nodeid1/dimmer/set 0.45000000
I’m trying the validator and it doesn’t seem to be particularly useful because it completely chokes on $stats.
If I include the full $stats block:
homie/examplehomiedev/$stats uptime,signal
homie/examplehomiedev/$stats/uptime "300"
homie/examplehomiedev/$stats/signal "32"
homie/examplehomiedev/$stats/interval "30"
…then the validator crashes (i think). It does nothing. No error message.
If I leave just the first line:
homie/examplehomiedev/$stats uptime,signal
then validation fails with the following message:
“The value ‘uptime,signal’ of ‘examplehomiedev/$stats’ does not conform to the convention!”
…which is an interesting point of view, because clearly it does.
|4|Device 'examplehomiedev' has the deprecated attribute '$localip' set! Please check with the newest version of the convention.|
|5|Device 'examplehomiedev' has the deprecated attribute '$mac' set! Please check with the newest version of the convention.|
Yes, i just did. The latest version of the convention has them as REQUIRED, right there on the same site, one click away
|n/a1|Property 'doorbell' requires '$name' to be set!|
|n/a1|Property 'temp' requires '$name' to be set!|
|n/a1|Property 'hum' requires '$name' to be set!|
Yes, all three of the properties DO have $name set.
That validator is utter garbage.