john30 / ebusd

daemon for communication with eBUS heating systems
GNU General Public License v3.0
560 stars 130 forks source link

Question about /set in MQTT #281

Closed madito closed 5 years ago

madito commented 5 years ago

I would like read an example of the use of the /set in the MQTT, since I can not modify the value and I only get errors,

If I use the command by console, it works correctly:

user@server:# ebusctl write -c recov VentIntensityDay 6
done
user@server:# ebusctl read -c recov VentIntensityDay
6

On the other hand, if I use the MQTT command:

ebusd/recov/VentIntensityDay/set 5

2019-04-26 18: 58: 44.965 [mqtt error] write recov VentIntensityDay: ERR: end of input reached

I have the option of "--accesslevel = *" in the daemon.

Thanks

madito commented 5 years ago

I respond to myself, the command actually works!

The correct syntax is that of my example:

ebusd/{CIRCUIT}/{NAME}/set {VALUE}