Search found 10 matches
- 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 ...
- 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?
I do it when flash the device. But nothing changed. If it will works for me, I don't ask how to do this!In advanced settings:
MQTT Retain Msg: on
Message Delay: 1000 [ms]
- 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?
how can I do it?you can use retained messages since the broker will always store these and then they'll be re-imported on boot.
for now it don't get retained messages. Maybe it depends from espeasy software?
in mosquito I activate retained messages.
- 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:
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.
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.
- 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?
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?
- 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.
Now all works with http request. With mqtt no lucky.
- 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: This command:
don't do anything for esp dummy switch (
Can you explaine me how to set values for Dummy Switch with mqtt command?
I have this config on my esp: This command:
Code: Select all
mosquitto_pub -h xxx.xxx.xxx.xxx -t "sonoff_esp/Boot_State/OnBoot_On" -m 1
- 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?
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?
- 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...
- 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...