One issue when using a dimmer item and linking that to a homie channel is that dimmer items will accept ON/OFF commands in addition to a percent command. MQTT/Homie does not convert the ON/OFF into 100/0 so that any scripts using ON/OFF do not work.
Can this be fixed with a transform (I have read but don’t quite understand how I would do this).
Since mqtt version 2.x the transformation is done with Thing not Item. I have all Things in files but many recommend using PaperUi for things and files for items. You can add the transformation in PaperUI just click the thing then “show more” in bottom left corner.
Best scenario would be a modification to the Homie section of the MQTT binding such that ON/OFF commands were change to a 1 or a 0.
Even better would be a Homie extension with device profiles so that when devices are discovered, items are created linked to corresponding best matching OH item type…
Overall, despite having invested hundreds of hours developing Python libraries around Homie, I am not really sure it has made anything easier over basic MQTT.
@mjcumming I have just been trying out your ISY-Homie-Bridge as a way to control my Insteon devices (nice job by the way!). FYI I’m on ISY 5.16C .
I quickly found the sending “ON”/“OFF” problem to Dimmer items (the channel shows as a Number channel). can’t figure out a workaround for this though. If i try to edit the autodiscovered Thing/channel (to try setting a mapping up) OH gives the error Link not editable.