espeasy mqtt neopixel openhab
Posted: 03 Nov 2017, 23:36
Hi there,
I'm pretty stuck controlling the neopixel on ESP easy by openhab.
I configured a device: NeoPixel - Candle LedStrip - GPIO 5 - Color, Type, Brightness
MQTT is configured well, I see each 60 seconds the values are updated in openhab.
It seems however not possible to send date from either MQTT.fx or OpenHab. whatever value I send it will not update.
All seems running fine, if I change type,color directly from ESP easy it works (just about 20 pixels though).
ITEMS:
LOGFILE OPENHAB:
LOG # in MQTT.fx:
Connections seems fine, what do I miss? please advice
I'm pretty stuck controlling the neopixel on ESP easy by openhab.
I configured a device: NeoPixel - Candle LedStrip - GPIO 5 - Color, Type, Brightness
MQTT is configured well, I see each 60 seconds the values are updated in openhab.
It seems however not possible to send date from either MQTT.fx or OpenHab. whatever value I send it will not update.
All seems running fine, if I change type,color directly from ESP easy it works (just about 20 pixels though).
ITEMS:
Code: Select all
Number LedStrip_type "LedStrip Type [%s]" <switch> (tuin, LedStrip) {mqtt=">[broker:/IoTCage107/LedStrip/Type:command:*:default]"}
Color LedStrip_color "LedStrip Color [%s]" <slider> (tuin, LedStrip) {mqtt=">[broker:/IoTCage107/LedStrip/Color:command:*:default]"}
Number LedStrip_bright "LedStrip Brightness [%s]" <dimmer> (tuin, LedStrip) {mqtt=">[broker:/IoTCage107/LedStrip/Brightness:command:*:default]"}
Code: Select all
23:28:35.302 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'LedStrip_type' received command 2
23:28:35.310 [INFO ] [marthome.event.ItemStateChangedEvent] - LedStrip_type changed from 6 to 2
Code: Select all
2017-11-03 23:28:35,310 INFO --- MqttFX ClientModel : messageArrived() with topic: /IoTCage107/LedStrip/Type
2017-11-03 23:28:35,310 INFO --- MqttFX ClientModel : messageArrived() added: message #75 to topic '/IoTCage107/LedStrip/Type'