etsach / espmilighthub-domoticz

Domoticz Plugin for controlling the ESP Milight Hib
MIT License
9 stars 4 forks source link

Group 0 #7

Closed poudenes closed 5 years ago

poudenes commented 5 years ago

Hi,

When I turn on and off group 0 all other groups keep their status. Is this a normal behaviour? My idea when I turn on/off group 0 all other groups 1 2 3 4 will get this status.

etsach commented 5 years ago

Have you been to the Hardware setup in Domoticz to set the new "updates" MQTT topic? If not set, they will not update.

Le mer. 29 mai 2019 à 10:15, poudenes notifications@github.com a écrit :

Hi,

When I turn on and off group 0 all other groups keep their status. Is this a normal behaviour? My idea when I turn on/off group 0 all other groups 1 2 3 4 will get this status.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/galinette2000/espmilighthub-domoticz/issues/7?email_source=notifications&email_token=ACXIPYPVIEPYA6G4YK2UCODPXY3SFA5CNFSM4HQKGEZ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GWNJG3Q, or mute the thread https://github.com/notifications/unsubscribe-auth/ACXIPYJBAX5NPDNN7OQXZUTPXY3SFANCNFSM4HQKGEZQ .

etsach commented 5 years ago

Also, there is a lag of a few seconds before update, because I wait for the hub MQTT response for updating.

Le mer. 29 mai 2019 à 09:34, Etienne Sandré-Chardonnal < etienne.sandre@m4x.org> a écrit :

Have you been to the Hardware setup in Domoticz to set the new "updates" MQTT topic? If not set, they will not update.

Le mer. 29 mai 2019 à 10:15, poudenes notifications@github.com a écrit :

Hi,

When I turn on and off group 0 all other groups keep their status. Is this a normal behaviour? My idea when I turn on/off group 0 all other groups 1 2 3 4 will get this status.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/galinette2000/espmilighthub-domoticz/issues/7?email_source=notifications&email_token=ACXIPYPVIEPYA6G4YK2UCODPXY3SFA5CNFSM4HQKGEZ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GWNJG3Q, or mute the thread https://github.com/notifications/unsubscribe-auth/ACXIPYJBAX5NPDNN7OQXZUTPXY3SFANCNFSM4HQKGEZQ .

poudenes commented 5 years ago

Have you been to the Hardware setup in Domoticz to set the new "updates" MQTT topic? If not set, they will not update. Le mer. 29 mai 2019 à 10:15, poudenes notifications@github.com a écrit :

You mean the new updates with MQTT Pattern?

mqtt_topic_pattern: milight/:device_id/:device_type/:group_id mqtt_state_topic_pattern: milight/states/:hex_device_id/:device_type/:group_id

Only Group 0 is turning on/off (act like a normal group) (Im using 1.9.0 Firmware on the hub)

etsach commented 5 years ago

There is a new, third MQTT pattern parameter in v0.0.9, with "updates" instead of "states" (as in hub MQTT settings), it is necessary for updating bulbs from group ALL.

Le mer. 29 mai 2019 à 10:53, poudenes notifications@github.com a écrit :

Have you been to the Hardware setup in Domoticz to set the new "updates" MQTT topic? If not set, they will not update. Le mer. 29 mai 2019 à 10:15, poudenes notifications@github.com a écrit : … <#m-5592924997172180490>

You mean the new updates with MQTT Pattern?

mqtt_topic_pattern: milight/:device_id/:device_type/:group_id mqtt_state_topic_pattern: milight/states/:device_id/:device_type/:group_id

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/galinette2000/espmilighthub-domoticz/issues/7?email_source=notifications&email_token=ACXIPYKC2WLEQCUGBH5SYUTPXY76PA5CNFSM4HQKGEZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWOUSEY#issuecomment-496847123, or mute the thread https://github.com/notifications/unsubscribe-auth/ACXIPYITAIA2LELX47BN3JLPXY76PANCNFSM4HQKGEZQ .

poudenes commented 5 years ago

But in your plugin there are 2 lines for MQTT:

This is how I setup both

Hub MQTT settings MQTT topic pattern: milight/:device_id/:device_type/:group_id MQTT update topic pattern: milight/updates/:hex_device_id/:device_type/:group_id MQTT state topic pattern: milight/states/:hex_device_id/:device_type/:group_id

Plugin settings MQTT topic pattern: milight/:device_id/:device_type/:group_id MQTT state topic pattern: milight/states/:hex_device_id/:device_type/:group_id MQTT update topic pattern: (NOT AVAILABLE)

poudenes commented 5 years ago

Issue solved. Update the plugin to 0.0.9 :D