Search found 10 matches

by tribal
21 Feb 2018, 22:35
Forum: ESP Easy: Software
Topic: How set values for Dummy Switch with mqtt?
Replies: 13
Views: 10971

Re: How set values for Dummy Switch with mqtt?

I understand the logic, but I don't understand why it doesn't work in my case! Maybe it's because I have GIT version: mega-20180104 ? I will make a guide for others to follow, don't have the time right now but soon. It will be greate. Don't rush you, It's not urgently. Upd. the retain for gpio pins ...
by tribal
21 Feb 2018, 21:54
Forum: ESP Easy: Software
Topic: How set values for Dummy Switch with mqtt?
Replies: 13
Views: 10971

Re: How set values for Dummy Switch with mqtt?

In advanced settings:
MQTT Retain Msg: on
Message Delay: 1000 [ms]
I do it when flash the device. But nothing changed. If it will works for me, I don't ask how to do this! :cry:
by tribal
21 Feb 2018, 21:33
Forum: ESP Easy: Software
Topic: How set values for Dummy Switch with mqtt?
Replies: 13
Views: 10971

Re: How set values for Dummy Switch with mqtt?

you can use retained messages since the broker will always store these and then they'll be re-imported on boot.
how can I do it?
for now it don't get retained messages. Maybe it depends from espeasy software?
in mosquito I activate retained messages.
by tribal
21 Feb 2018, 20:21
Forum: ESP Easy: Software
Topic: How set values for Dummy Switch with mqtt?
Replies: 13
Views: 10971

Re: How set values for Dummy Switch with mqtt?

This is my setup:
Снимок.JPG
Снимок.JPG (82.89 KiB) Viewed 10329 times
In advanced settings:
MQTT Retain Msg: on
Message Delay: 1000 [ms]

If all states are lost, how to save values for preferred boot state?
The modules has many free space, why it don't save any values on it? This not logical and uncomfortable.
by tribal
21 Feb 2018, 19:24
Forum: ESP Easy: Software
Topic: How set values for Dummy Switch with mqtt?
Replies: 13
Views: 10971

Re: How set values for Dummy Switch with mqtt?

MQTT setup in ESP or in MQTT broker server?

PS dummy switches don't save values after reboot.. all switches have "0". That's not what I respect :(
I try to make an external control for boot state of relay after reboot. Maybe I do something wrong? :roll:
by tribal
21 Feb 2018, 18:44
Forum: ESP Easy: Software
Topic: How set values for Dummy Switch with mqtt?
Replies: 13
Views: 10971

Re: How set values for Dummy Switch with mqtt?

Thanks.
Now all works with http request. With mqtt no lucky.
by tribal
20 Feb 2018, 15:08
Forum: ESP Easy: Software
Topic: How set values for Dummy Switch with mqtt?
Replies: 13
Views: 10971

How set values for Dummy Switch with mqtt?

Hi to all!
Can you explaine me how to set values for Dummy Switch with mqtt command?
I have this config on my esp:
Снимок1.JPG
Снимок1.JPG (110.93 KiB) Viewed 10393 times
Снимок.JPG
Снимок.JPG (101.6 KiB) Viewed 10395 times
This command:

Code: Select all

mosquitto_pub -h xxx.xxx.xxx.xxx -t "sonoff_esp/Boot_State/OnBoot_On" -m 1
don't do anything for esp dummy switch (
by tribal
28 Jan 2018, 23:03
Forum: ESP Easy: Hardware
Topic: Support for ccs811
Replies: 3
Views: 4373

Support for ccs811

Hi.
Is anybody know is it possible to connect ccs811 (https://learn.adafruit.com/adafruit-ccs ... r?view=all) sensor to espeasy? :?:
Maybe some plugin or module?
by tribal
24 Jan 2018, 11:56
Forum: ESP Easy: Software
Topic: ESPEasy mega-20180114 (normal,dev,testing) not accepting command via MQTT
Replies: 12
Views: 9704

Re: ESPEasy mega-20180114 (normal,dev,testing) not accepting command via MQTT

Try this. switch 1: platform: mqtt name: "Sonoff1" state_topic: "sonoff_esp/status" command_topic: "sonoff_esp/cmd" payload_on: "gpio,12,1" payload_off: "gpio,12,0" qos: 1 retain: true Nope :( The switch is going ON from OFF when I clic on it (relay...
by tribal
23 Jan 2018, 18:42
Forum: ESP Easy: Software
Topic: ESPEasy mega-20180114 (normal,dev,testing) not accepting command via MQTT
Replies: 12
Views: 9704

Re: ESPEasy mega-20180114 (normal,dev,testing) not accepting command via MQTT

Hi. I see you understand how to set up communication espeasy and HASS. I'm confused. I don't understand how to connect my espeasy device and th HASS across mosquito! The mosquito can receive and send commands to relay and it controlled by commands through mosquito_pub command. Maybe I do something w...