Coder Social home page Coder Social logo

starkillerog / h801-mqtt-json Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 2.0 273 KB

The is an alternative firmware for the H801 LED dimmer that uses MQTT JSON as a control channel. This makes it easy to integrate into Home Assistant and other Home Automation applications.

License: MIT License

C 5.52% C++ 94.48%

h801-mqtt-json's Issues

'mqtt_server_conf' was not declared in this scope?

Hi, when I try to verify the h801-mqtt-json i get this error :(
Can you help how can I solve this?

Thanks: Norbert

Arduino: 1.8.13 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), no dtr (aka ck), 26 MHz, 40MHz, DIO, 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Serial, None, Only Sketch, 115200"


In file included from sketch\h801-mqtt-json.ino.cpp:1:0:

C:\Users\norbert.farkas\Desktop\home\h801-mqtt-json-master\h801-mqtt-json\h801-mqtt-json.ino: In function 'void get_m_state_from_transition_state()':

C:\Users\norbert.farkas\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266/Arduino.h:256:85: internal compiler error: in cp_parser_abort_tentative_parse, at cp/parser.c:23793

 #define _max(a,b) ({ decltype(a) _a = (a); decltype(b) _b = (b); _a > _b? _a : _b; })

                                                                                     ^

C:\Users\norbert.farkas\Desktop\home\h801-mqtt-json-master\h801-mqtt-json\h801-mqtt-json.ino:1074:24: note: in expansion of macro '_max'

     m_rgb_brightness = _max(transition_red, _max(transition_green, transition_blue));

                        ^

C:\Users\norbert.farkas\Desktop\home\h801-mqtt-json-master\h801-mqtt-json\h801-mqtt-json.ino:1074:45: note: in expansion of macro '_max'

     m_rgb_brightness = _max(transition_red, _max(transition_green, transition_blue));

                                             ^

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.

exit status 1

Error compiling for board Generic ESP8266 Module.



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


Adruino core version to use

I had difficulty compiling this with any ESP8266 Arduino Core > 2.2.3. It might be helpful to specify the core version to use in the documentation. Otherwise, it's working great -- thanks much!

OTA page errors out

Thanks for this it works a treat, hoping to use it alongside Hyperion that I'm setting up.
Although the ota page errors out when I try to access it and i confirmed my module name is correct.
Any ideas.
Thanks

How do you find the IP address ?

Hi i have 2 of these running great now and integrated into Home Assistant.
I've now setup Hyperion which work great and i'm wanting to link hyperion with this device but my problem is the 2 devices don't show on my routers attached devices list so i can't see what IP address they are using.
Do you know how i can find out what ip they are using
Thanks

Links with information about hyperion are outdated

Hello, thank you for your software, so far everything seems to work great. Only I am unable to connect it to my hyperion instance. The link about the udp stream seems outdated. Could you maybe explain how to setup the udp stream to work with the new Hyperion.NG.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.