stefanbode / Sonoff-Tasmota

Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE, enhanced with I2C options
GNU General Public License v3.0
127 stars 41 forks source link

Domoticz no MQTT Messages #164

Closed jannnfe closed 4 years ago

jannnfe commented 5 years ago

Hello, I've put sensor idx 10 shutter on the IDX that my virtual device has in Domoticz. An MQTT message is sent to Domoticz when the device is started but the changes to the shutter control are not sent to Domoticz. What am I doing wrong? Thanks!

roondar commented 5 years ago

Not really an answer but there is my solution : https://github.com/roondar/shutter-domoticz

stefanbode commented 5 years ago

@roondar : If you like you can add this to the wiki. Always welcome.

jannnfe commented 5 years ago

Thanks @roondar can you please give a more detailed instruction how to run your docker. I never run a docker and i can't find a good instruction on that. Thanks! :)

roondar commented 5 years ago

@stefanbode @jannnfe I add Domoticz-integration in the wiki section.

I hope, it'll help you ;)

Any suggestion it's welcome.

jannnfe commented 5 years ago

Hey @roondar thanks! This instruction is clear and i could install the docker mod. Nice work!

But how to start the docker on system restart automatically? EDIT: And how to add multiple Shutters in shutter.yml ?

Thanks!

roondar commented 5 years ago

You right, this is the missing part of this guide. You can follow this https://docs.docker.com/config/containers/start-containers-automatically/

Le mer. 24 juil. 2019 à 21:53, jannnfe notifications@github.com a écrit :

Hey @roondar https://github.com/roondar thanks! This instruction is clear and i could install the docker mod. Nice work!

But how to start the docker on system restart automatically?

Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/stefanbode/Sonoff-Tasmota/issues/164?email_source=notifications&email_token=AAE23JYWTGEO6Y5VKGTQG5LQBCXKXA5CNFSM4IF42YRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2XNVXQ#issuecomment-514775774, or mute the thread https://github.com/notifications/unsubscribe-auth/AAE23J2TF5KCPRJTVTRICKDQBCXKXANCNFSM4IF42YRA .

jannnfe commented 5 years ago

@roondar And how to add multiple Shutters in shutter.yml?

roondar commented 5 years ago

Good question, I haven't tested ! :D

I think I have to develop something more.

roondar commented 5 years ago

@jannnfe At this time, I'm only have 1 shutter but I updated my code to be compatible with multiple shutters. You can test it :