Search found 28 matches

by rene9900
12 Mar 2018, 08:44
Forum: ESP Easy: General Discussion
Topic: rtttl play on mqtt message?
Replies: 23
Views: 14020

Re: rtttl play on mqtt message?

i gotten rid of the play on reboot by changing the event,Music to event,Music#1
now i can reboot the mqtt server or it can lose wifi, and i can reboot my esp8266 safely.
by rene9900
10 Mar 2018, 23:04
Forum: ESP Easy: General Discussion
Topic: rtttl play on mqtt message?
Replies: 23
Views: 14020

Re: rtttl play on mqtt message?

Psy0rz told me the rtttl code is not stable at all. You can even get it in a endless loop as I describe here: https://github.com/letscontrolit/ESPEasy/issues/446 I think we need to remove the hashtag (#) from the tune code, it might trigger some rules by mistake? I mean in the command execution int...
by rene9900
10 Mar 2018, 21:16
Forum: ESP Easy: General Discussion
Topic: rtttl play on mqtt message?
Replies: 23
Views: 14020

Re: rtttl play on mqtt message?

Happy to have helped. :) And the rule you posted seems all right. one last question :) how come when i reboot my unit it plays the tune in rules that only is supposed to play on either button press on the unit or by the remote sender unit? my ruleset looks like this: On Switch#Switch=1 do Publish R...
by rene9900
09 Mar 2018, 11:10
Forum: ESP Easy: General Discussion
Topic: rtttl play on mqtt message?
Replies: 23
Views: 14020

Re: rtttl play on mqtt message?

You need to use rules and trigger "publish" on button unit. Publish <name of second unit >/cmd,event,<eventName> ah i get it...using mqtt spy to make sure its not the esp sender that makes a mess Skærmbillede 2018-03-09 kl. 11.07.47.png log goes like this MQTT : Topic: GUL/cmd MQTT : Payl...
by rene9900
09 Mar 2018, 10:29
Forum: ESP Easy: General Discussion
Topic: rtttl play on mqtt message?
Replies: 23
Views: 14020

Re: rtttl play on mqtt message?

I'm not asking for help. I want to help you. The syntax of mqtt cmd is this: Topic <MQTT subscribe template>/cmd Payload event,<eventName> As stated here: https://www.letscontrolit.com/wiki/index.php/ESPEasy_Command_Reference Regarding the delay, what's your setting for "message delay" fo...
by rene9900
08 Mar 2018, 12:50
Forum: ESP Easy: General Discussion
Topic: rtttl play on mqtt message?
Replies: 23
Views: 14020

Re: rtttl play on mqtt message?

Yes i guess it use my router time server, only Way i could make time work was 60 and no server
by rene9900
08 Mar 2018, 10:14
Forum: ESP Easy: General Discussion
Topic: rtttl play on mqtt message?
Replies: 23
Views: 14020

Re: rtttl play on mqtt message?

I have set it to 250ms same delay, but its bearable 🤣
987BB6FC-C8E0-4425-BDA8-C97015434847.png
987BB6FC-C8E0-4425-BDA8-C97015434847.png (99.34 KiB) Viewed 12329 times
by rene9900
08 Mar 2018, 09:32
Forum: ESP Easy: General Discussion
Topic: rtttl play on mqtt message?
Replies: 23
Views: 14020

Re: rtttl play on mqtt message?

How do you send the mqtt command? Please give us the topic and payload. i didnt because i couldnt make it work :lol: i used toffels969's advice and by a switch button and some rules, its HTTP cmd, i dont know if thats why it has like 1 sec delay on press?? //Doorbell //Sender esp On Switch#Switch=1...
by rene9900
08 Mar 2018, 08:36
Forum: ESP Easy: General Discussion
Topic: rtttl play on mqtt message?
Replies: 23
Views: 14020

Re: rtttl play on mqtt message?

cool your rule works perfect, so does the trigger, then i just need to make another esp send a trigger when doorbell is pushed
i tried via node-red to "translate" a message to the http trigger, but it wont work.
seems odd to me if a rule cant be triggered by mqtt?
by rene9900
07 Mar 2018, 23:29
Forum: ESP Easy: General Discussion
Topic: rtttl play on mqtt message?
Replies: 23
Views: 14020

rtttl play on mqtt message?

im playing around with the PLUGIN_BUILD_TESTING version and made it play starwars theme when i push a button <3 thats awsome, i know :D but i wanted to make a doorbell so the button is located on a esp8266 at the front door, and when pushed it send a mqtt topic so the unit with the buzzer play the t...
by rene9900
01 Mar 2018, 14:13
Forum: ESP Easy: General Discussion
Topic: Espeasy mqtt to HA?
Replies: 2
Views: 3776

Espeasy mqtt to HA?

im having some headace on this issue, i used to run node-red but felt like trying home assistant, all my Tasmota units work like out of the box, but my out door temp DTH22 on wemos mini with Espeasy will not post to HA, i installed the mosquitto mqtt app on HA and it works fine with all other units ...
by rene9900
14 Feb 2018, 10:53
Forum: ESP Easy: General Discussion
Topic: rules delay to post vcc on deepsleep
Replies: 36
Views: 21702

Re: rules delay to post vcc on deepsleep

grovkillen wrote: 13 Feb 2018, 10:39 Please raise this issue up Github, referring to this thread.
I made a ticket on github about it.
https://github.com/letscontrolit/ESPEasy/issues/870
by rene9900
12 Feb 2018, 13:32
Forum: ESP Easy: General Discussion
Topic: rules delay to post vcc on deepsleep
Replies: 36
Views: 21702

Re: rules delay to post vcc on deepsleep

You're right. Maybe open a issue on Github? i know not how :) only way it works is by shortcutting positive and negative to coldboot it then it works . besides the missing delay WIFI : Connected! MQTT : Connected to broker Subscribed to: /8266-3/# INIT : Boot OK INIT : Deep sleep enabled INIT : Col...
by rene9900
12 Feb 2018, 12:37
Forum: ESP Easy: General Discussion
Topic: rules delay to post vcc on deepsleep
Replies: 36
Views: 21702

Re: rules delay to post vcc on deepsleep

https://www.letscontrolit.com/wiki/index.php/SleepMode Note that its recommended to set the Message Delay to 0 in the advanced settings page, since you want the unit to broadcast messages asap in order to save precious battery power. Have you done this? yes the message delay in advanced and the del...
by rene9900
12 Feb 2018, 10:50
Forum: ESP Easy: General Discussion
Topic: rules delay to post vcc on deepsleep
Replies: 36
Views: 21702

Re: rules delay to post vcc on deepsleep

Please post all your setup using (if you want) my webdumper? i would but how? my mac can not run exe files :) i tried adding Publish /%sysname%/Time,%systime% within the timer1,10 event the systime also do not get reported with sleep enabled.. if i put them all in rules before the timer the Console...
by rene9900
12 Feb 2018, 10:23
Forum: ESP Easy: General Discussion
Topic: rules delay to post vcc on deepsleep
Replies: 36
Views: 21702

Re: rules delay to post vcc on deepsleep

Just for the hell of it have you tried turning deepsleep off and wait to see if VCC publishes at all? On boot and wake from sleep are different I imagine. Maybe it needs at least 60 seconds or so. I'm just throwing stuff against the wall to see if anything sticks... :geek: i try changing my delay t...
by rene9900
12 Feb 2018, 07:50
Forum: ESP Easy: General Discussion
Topic: rules delay to post vcc on deepsleep
Replies: 36
Views: 21702

Re: rules delay to post vcc on deepsleep

Does this apply here? https://www.letscontrolit.com/wiki/index.php/ESPEasy_System_Variables Note the part about a custom compiled firmware? i did enable vcc by "true" before uploading to my 8266, and it does post vcc in every boot, as long as it is not from deepsleep, then it go to sleep ...
by rene9900
11 Feb 2018, 21:50
Forum: ESP Easy: General Discussion
Topic: rules delay to post vcc on deepsleep
Replies: 36
Views: 21702

Re: rules delay to post vcc on deepsleep

Domosapiens wrote: 11 Feb 2018, 20:38 Does this helps?

Code: Select all

On bat#VCC do
 Publish /%sysname%/status,%sysname%_Online
 Publish /%sysname%/bat/VCC,%vcc%
endon
still no vc post after online publish it go back to deepsleep :(
by rene9900
11 Feb 2018, 19:26
Forum: ESP Easy: General Discussion
Topic: rules delay to post vcc on deepsleep
Replies: 36
Views: 21702

Re: rules delay to post vcc on deepsleep

VCC#VCC=3.45 IIRC Rules don't like Taskname and Value name the same just changed it but the result is the same :( EVENT: System#Boot ACT : timerSet,1,12 ACT : Publish /8266-3/status,8266-3_Online ACT : Publish /8266-3/bat/VCC,-1.00 MQTT : Topic: /8266-3/status MQTT : Payload: 8266-3_Online MQTT : T...
by rene9900
11 Feb 2018, 19:21
Forum: ESP Easy: General Discussion
Topic: rules delay to post vcc on deepsleep
Replies: 36
Views: 21702

Re: rules delay to post vcc on deepsleep

No I meant: On System#Boot do Publish /%sysname%/status,%sysname%_Online Publish /%sysname%/VCC/VCC,%vcc% endon But GrovKillen is the one to rules them ESP's. So if my suggestion is bogus, please say so :) your rules made this come out in my IDE, SYS sees the vcc but mqtt payload still say -1.00 IN...
by rene9900
11 Feb 2018, 18:17
Forum: ESP Easy: General Discussion
Topic: rules delay to post vcc on deepsleep
Replies: 36
Views: 21702

Re: rules delay to post vcc on deepsleep

I noticed that in arduino IDE the VCC do get reported before sleep, but not as MQTT.. ill try change the rules to the ones you suggested thank you :) INIT : Booting Build nr:120 IP : Static IP :192.168.1.13 WIFI : Connecting... 1 WIFI : Connected! MQTT : Connected to broker Subscribed to: /8266-3/# ...
by rene9900
11 Feb 2018, 17:47
Forum: ESP Easy: General Discussion
Topic: rules delay to post vcc on deepsleep
Replies: 36
Views: 21702

Re: rules delay to post vcc on deepsleep

im not sure i understand how you mean after the first publish? seperated by comma or :?: :?:

On System#Boot do
timerSet,1,12
endon
On Rules#Timer=1 do
Publish /%sysname%/status,%sysname%_Online , Publish /%sysname%/VCC/VCC,%vcc%
endon
by rene9900
11 Feb 2018, 00:55
Forum: ESP Easy: General Discussion
Topic: rules delay to post vcc on deepsleep
Replies: 36
Views: 21702

Re: rules delay to post vcc on deepsleep

i would connect A0 but it is a esp8266-01 i'm using, i only have a few pins :)
by rene9900
11 Feb 2018, 00:35
Forum: ESP Easy: General Discussion
Topic: rules delay to post vcc on deepsleep
Replies: 36
Views: 21702

Re: rules delay to post vcc on deepsleep

i try change to 38 sec and still no vcc, log from node red: 11/2/2018 00.25.18node: 5435f871.00fb68 /8266-2/status : msg.payload : string[13] "8266-2_Online" 11/2/2018 00.25.40node: 5435f871.00fb68 /8266-2/status : msg.payload : string[15] "Connection Lost" seems like it wont wai...
by rene9900
11 Feb 2018, 00:00
Forum: ESP Easy: General Discussion
Topic: rules delay to post vcc on deepsleep
Replies: 36
Views: 21702

Re: rules delay to post vcc on deepsleep

might be, but is there some way around this? what do others do? :(
by rene9900
10 Feb 2018, 23:50
Forum: ESP Easy: General Discussion
Topic: rules delay to post vcc on deepsleep
Replies: 36
Views: 21702

Re: rules delay to post vcc on deepsleep

i dont know if there is a difference from the rules if deepsleep is enabled or not? it publish perfectly vcc to my mqtt broker if deepsleep is disabled?
by rene9900
10 Feb 2018, 23:23
Forum: ESP Easy: General Discussion
Topic: rules delay to post vcc on deepsleep
Replies: 36
Views: 21702

rules delay to post vcc on deepsleep

i have a eps8266-01 running ESPEASY 120, red led cut off for lowest power consume possible, it wake up on reset, and i ordered some LIPO's on ebay, want to try see how long it runs on battery. problem i have now is to make it publish VCC waking up then going to sleep, it works perfect if deep sleep ...
by rene9900
25 Apr 2017, 11:54
Forum: ESP Easy: Software
Topic: Rules examples
Replies: 41
Views: 66776

Re: Rules examples

i am having a challenge with my wemos mini running ESPEasy i have a DS1820 and all is working fine, except i want to monitor my freezer, and if the temperature goes above -15 towards 0 degrees.. i currently have 2 other wemos running dht11 and dth22 and made the rule to get notification via email li...