Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESPilight support #242

Merged
merged 6 commits into from Oct 14, 2018
Merged

ESPilight support #242

merged 6 commits into from Oct 14, 2018

Conversation

steadramon
Copy link
Contributor

Support for ESPilight - only receive at the moment

I've put the if's around enabling as it doesn't seem to work for me at the moment. I'm working on the sending - looking into the multiple wildcard subscription for the subjects.

Support for ESPilight - only recieve at the moment
@1technophile 1technophile added this to the v0.8 milestone Jul 29, 2018
@1technophile 1technophile added enhancement ESP8266 NodeMCU, Wemos, ESP8266 boards labels Jul 29, 2018
@1technophile
Copy link
Owner

1technophile commented Jul 30, 2018

Hello,

Thanks for this PR, could you add in test/test_config.h
#define ZgatewayPilight "Pilight"
So as to test that the compilation is working. You will need to add the pilight library into lib folder also.

@1technophile
Copy link
Owner

@steadramon Do you think you could update test_config.h and add the emitter part?

@steadramon
Copy link
Contributor Author

Apologies - been on holiday last few weeks - will get this updated once I've got caught up with real life :)

@1technophile
Copy link
Owner

no problem :-)

@1technophile 1technophile modified the milestones: v0.8, V0.9 Sep 13, 2018
@thundergreen
Copy link

Any news here ?

@steadramon
Copy link
Contributor Author

Transmit was done in commit 50ddbd7

I think I've updated the Test_config as required?

@1technophile
Copy link
Owner

Thanks @steadramon. @thundergreen do you think you could test the pull request before integration to the master branch ?

@1technophile
Copy link
Owner

@steadramon an user seems to have issue to send commands to elro switch:
https://community.openmqttgateway.com/t/correct-message-for-mqtttopilight/257/2

Do you have some idea to help ?

@steadramon
Copy link
Contributor Author

Looks like a slight mismatch for the send function in the PiLight library I used - it's currently missing the repeats - I'll have to submit you another PR ... get back to you asap

@puuu
Copy link

puuu commented Jan 4, 2019

Hi, thank you for considering ESPiLight! Unfortunately, there is some kind of in inconsistency in the PiLight JSON messages.

Received messages looks like:
{"systemcode":18,"unitcode":2,"state":"on"} or {"systemcode":18,"unitcode":2,"state":"on"}.

While, for changing the states one need to publish:
{"systemcode":18,"unitcode":2,"on":1} or {"systemcode":18,"unitcode":2,"off":1}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ESP8266 NodeMCU, Wemos, ESP8266 boards
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants