Hello,
I understood the basics of how i can publish some values to the “tx” entries of a node (i have 4 tx variables):
mosquitto_pub -u ‘emonpi’ -P ‘emonpimqtt2016’ -t ‘emonhub/tx/29/values’ -m “7,1,7,2”
Now I wanted to do the same from OpenHAB.
Number 29aq_phMin “phMin [%.1f pH]” { mqtt=">[mosquitto:emonub/tx/29/ … hmm
well … not sure what to write because i do not want to send all 4 values at once but only one of the tx values (named phMin).
Maybe something like:
Number 29aq_phMin “phMin [%.1f pH]” { mqtt=">[mosquitto:emonub/29aq/phMin … hmm
again I’m not sure what to write after the topic - because is not a command.
In sitemap I defined:
Setpoint item=29aq_phMin minValue=“6.7” maxValue=“6.8” step=“0.01”
Any idea? Any example?
Or for now it is only possible to use OpenHAB control for ON/OFF on lwrf topic?
I also got no message in emonhub when I do:
mosquitto_pub -u ‘emonpi’ -P ‘emonpimqtt2016’ -t ‘emon/29aq/phMax’ -m 7.1
While if i do:
mosquitto_pub -u ‘emonpi’ -P ‘emonpimqtt2016’ -t ‘emonhub/tx/29/values’ -m 7,1,7,2
I see (as expected):
2016-05-13 20:11:11,462 DEBUG MQTT Nodeid: 29 values: 7,1,7,2
2016-05-13 20:11:11,465 DEBUG MQTT 1880 sent TX packet: 29,188,2,100,0,188,2,200,0,s
2016-05-13 20:11:11,466 DEBUG MQTT 1880 Sent to channel’ : ToRFM12
Is currently possible to only send “tx” messages using “emonhub/” topic?
Thanks for info.
Marius