Search found 5 matches

by hash20
19 Jan 2022, 20:48
Forum: ESP Easy: General Discussion
Topic: parsing RGB from Dashboard
Replies: 9
Views: 6107

Re: parsing RGB from Dashboard

Not sure why you have to add that to the source code, I've never had to do anything like that. Did you clone the regular ESPEasy project, or forked it first? Sorry, it my first expirience with Platformio and EasyESP (3-4 days) :) i just create a new project from git. I don't understand how i can do...
by hash20
19 Jan 2022, 18:16
Forum: ESP Easy: General Discussion
Topic: parsing RGB from Dashboard
Replies: 9
Views: 6107

Re: parsing RGB from Dashboard

You should be able to download a precompiled build from the last Github actions run (Scroll to the bottom at the right side of that screen, there's a Binaries.zip file) If your build-type isn't included, because it failed/got cancelled, then I can create a local build for you to see if that already...
by hash20
19 Jan 2022, 12:52
Forum: ESP Easy: General Discussion
Topic: parsing RGB from Dashboard
Replies: 9
Views: 6107

Re: parsing RGB from Dashboard

Great work!!! Thanks. It's a light in end of tube :) try compile but: error: src\src\PluginStructs_tmp\__tmpfile.cpp:4752:54: error: 'compareValues' was not declared in this scope later... after adding to ESPEasyRules.cpp bool compareValues(char compare, float Value1, float Value2) { bool match = fa...
by hash20
18 Jan 2022, 19:57
Forum: ESP Easy: General Discussion
Topic: parsing RGB from Dashboard
Replies: 9
Views: 6107

Re: parsing RGB from Dashboard

from android apk. MQTT Dashboard for example.

Another aplication was send the same '#rrggbb' format or 'RGBA(r,g,b,a)' (if use alpha) ' ' - text in payload from broker
by hash20
18 Jan 2022, 19:30
Forum: ESP Easy: General Discussion
Topic: parsing RGB from Dashboard
Replies: 9
Views: 6107

parsing RGB from Dashboard

Hi guys.
Can you help me to do it!
When picked color in dashboard i receive: "room/light/color -> #rrggbb" // color in hex format start with '#' char

1. <Generic - MQTT Import'> can only float, no string :(
2. How to parse integers r,g,b from here ?

Thank's.