Search found 88 matches

by wim16
25 Jan 2018, 08:53
Forum: ESP Easy: General Discussion
Topic: Value conversion MQTT Openhab Help
Replies: 5
Views: 3946

Re: Value conversion MQTT Openhab Help

Sorry, I do not use Openhab myself.
by wim16
24 Jan 2018, 19:12
Forum: ESP Easy: General Discussion
Topic: Value conversion MQTT Openhab Help
Replies: 5
Views: 3946

Re: Value conversion MQTT Openhab Help

You can do it in rules with the Publish command.
by wim16
24 Jan 2018, 17:44
Forum: RFlink: General Discussions
Topic: Send CMD For RFlink+Mega2560
Replies: 5
Views: 11074

Re: Send CMD For RFlink+Mega2560

Well, that's just what the Rflink firmware on the Arduino is doing for you. Arduino can not do it on it's own.
by wim16
24 Jan 2018, 09:50
Forum: ESP Easy: Software
Topic: How send switchcmd=On to Domoticz?
Replies: 2
Views: 2368

Re: How send switchcmd=On to Domoticz?

It can be done the way you did (and I think it actually does because you write it is in the Domoticz log). But why not us a Domoticz HTTP (or MQTT) controller to do it for you? Than you do not need the rule. Edit: I see I did not read well. Your problem is about the 'On'. Still, using a controller w...
by wim16
22 Jan 2018, 13:29
Forum: ESP Easy: Software
Topic: MQTT Output helper acts different from GPIO command
Replies: 3
Views: 3317

Re: MQTT Output helper acts different from GPIO command

I had another look at the code of plugin _C002. It looks like I can easily trigger rulesprocessing from there (saw an example in one of the other plugins).
I will compile my own version of ESPEasy and see if that is working.
by wim16
22 Jan 2018, 08:46
Forum: ESP Easy: Projects / Applications
Topic: Read button state from deep sleep
Replies: 10
Views: 10214

Re: Read button state from deep sleep

You can use the buttonpress itself to wake up the ESP, somewhat like the mail notifier on wiki:
https://www.letscontrolit.com/wiki/inde ... fications
by wim16
21 Jan 2018, 22:05
Forum: ESP Easy: Software
Topic: MQTT Output helper acts different from GPIO command
Replies: 3
Views: 3317

Re: MQTT Output helper acts different from GPIO command

Thanks, too bad but good to know. I will search for a workaround (or use http).
by wim16
20 Jan 2018, 19:33
Forum: ESP Easy: Software
Topic: MQTT Output helper acts different from GPIO command
Replies: 3
Views: 3317

MQTT Output helper acts different from GPIO command

I've set up a Sonoff basic using an MQTT output helper (P029) to switch the relay on GPIO12 and a switch input on that same GPIO to monitor the status and act upon it in rules. If I switch GPIO12 using the GPIO command an event Relay#Switch is triggered because the input device changed state. Howeve...
by wim16
17 Jan 2018, 10:48
Forum: ESP Easy: Software
Topic: P029 MQTT helper works when disabled
Replies: 6
Views: 5371

Re: P029 MQTT helper works when disabled

I've just added an issue. Thanks for your help.
by wim16
16 Jan 2018, 22:11
Forum: ESP Easy: Software
Topic: P029 MQTT helper works when disabled
Replies: 6
Views: 5371

Re: P029 MQTT helper works when disabled

Not yet, but I am going to try so I can learn more about espeasy.
It is not a bug that bothers me very much but my first idea would be to add it to C002.ino, is that the correct place?
by wim16
16 Jan 2018, 21:35
Forum: ESP Easy: Software
Topic: P029 MQTT helper works when disabled
Replies: 6
Views: 5371

P029 MQTT helper works when disabled

Today I was surprised to discover that a P029 device switches it's gpio even when not enabled. I checked the C002 plugin (which contains the P029 functionality) and it does not observe the enabled flag. Is this a bug or as designed? If it is by design I think the enabled flag would best be removed f...
by wim16
15 Jan 2018, 15:12
Forum: ESP Easy: Software
Topic: easy esp domoticz switch no working
Replies: 7
Views: 5233

Re: easy esp domoticz switch no working

You need, of course, an mqtt broker active.
by wim16
14 Jan 2018, 22:34
Forum: ESP Easy: Software
Topic: ESP Easy V2.0.0 Dev12; Rules not updating field
Replies: 4
Views: 4180

Re: ESP Easy V2.0.0 Dev12; Rules not updating field

I noticed that a dummy device is not updated when it's not enabled.
Do not know if that is as designed but maybe this is the cause of your problem too.
by wim16
11 Jan 2018, 23:00
Forum: ESP Easy: Projects / Applications
Topic: MQTTImport and use of formula
Replies: 4
Views: 3973

Re: MQTTImport and use of formula

I tried with the same result. But after some more study of the wiki I think I have to use a dummy device as an intermediate store. It looks like this is working: on DimmerImport#Level do TaskValueSet, 2,1,[DimmerImport#Level]*1024/100 // set PWM#Dummy endon on PWM#Dummy do PWM,14,%eventvalue%,1250 e...
by wim16
11 Jan 2018, 15:56
Forum: ESP Easy: Projects / Applications
Topic: MQTTImport and use of formula
Replies: 4
Views: 3973

Re: MQTTImport and use of formula

Well, I did and it just takes the first value of the formula instead of performing the math.
However if I set a dummy taskvalue using the same formula it does work.

Code: Select all

IMPT : [DimmerImport#Level] : 36.00
EVENT: DimmerImport#Level=36.00
ACT  : PWM,14,36*1024/100,1250
SW   : GPIO 14 Set PWM to 36
by wim16
11 Jan 2018, 15:09
Forum: ESP Easy: Projects / Applications
Topic: MQTTImport and use of formula
Replies: 4
Views: 3973

MQTTImport and use of formula

I am using MQTTImport to set a dimmer level (PWM) using MQTT. This works fine as long as I put the PWM dutycycle (1..1024) in the MQTT message payload. This means that the controller (Domoticz) has to know the range of PWM-levels and convert the dimmer level (0-100%) to PWM. I'd rather have this con...
by wim16
06 Jan 2018, 14:10
Forum: ESP Easy: General Discussion
Topic: ESPEasy v2.0.0-dev13
Replies: 39
Views: 40098

Re: ESPEasy v2.0.0-dev13

I use the P044_P1WifiGateway which was changed in dev13 but I've no idea if that could be the causel
by wim16
05 Jan 2018, 22:58
Forum: RFlink: General Discussions
Topic: Achievable ? learning codes from a RF remote for domoticz piloting
Replies: 3
Views: 4266

Re: Achievable ? learning codes from a RF remote for domoticz piloting

No problem. The number of channels indicates how many kaku codes the remote can send but a keypress will always send just one of those.
by wim16
05 Jan 2018, 15:02
Forum: RFlink: General Discussions
Topic: Achievable ? learning codes from a RF remote for domoticz piloting
Replies: 3
Views: 4266

Re: Achievable ? learning codes from a RF remote for domoticz piloting

I did not use the learning mode myself but for the kaku remote you don't need it. The remote codes are recognized directly. Also, you can buy a kaku remote without power plugs, or you can assign a different code to the power plugs so you can trigger those through rflink only and use the remote to tr...
by wim16
05 Jan 2018, 10:19
Forum: ESP Easy: General Discussion
Topic: ESPEasy v2.0.0-dev13
Replies: 39
Views: 40098

Re: ESPEasy v2.0.0-dev13

Just some feedback: dev13 has greatly improved stability of my ESP running as P1 smart meter interface. On dev12 it rebooted once or twice a day and now it is running for 2,5 days without reboot. Also the P1 event handling time is much less than before. This was my only ESP that spontanously reboote...
by wim16
03 Jan 2018, 10:28
Forum: ESP Easy: General Discussion
Topic: ESPEasy nighly builds
Replies: 5
Views: 5007

Re: ESPEasy nighly builds

Releasing dev13 and introducing the nightlies is a good start of the year!
Thank you for all all the effort put into this very nice piece of software.
by wim16
29 Dec 2017, 10:25
Forum: ESP Easy: General Discussion
Topic: Is there a "no network connection" command?
Replies: 3
Views: 2629

Re: Is there a "no network connection" command?

Maybe you can use the Wifi RSSI from SystemInfo device.
by wim16
20 Oct 2017, 10:04
Forum: ESP Easy: General Discussion
Topic: ip of espeasy is lost and i can not send any command but a device is report rssi every 5 min!!!!
Replies: 24
Views: 18852

Re: ip of espeasy is lost and i can not send any command but a device is report rssi every 5 min!!!!

Not sure. I only know that the problem has dissapeared and the modem update (as far as I can see) was the only change in the environment.
by wim16
19 Oct 2017, 13:39
Forum: ESP Easy: General Discussion
Topic: ip of espeasy is lost and i can not send any command but a device is report rssi every 5 min!!!!
Replies: 24
Views: 18852

Re: ip of espeasy is lost and i can not send any command but a device is report rssi every 5 min!!!!

Maybe this is the same problem as I had some time ago: http://www.letscontrolit.com/forum/view ... f=4&t=3373
I haven't seen it since then and I think it may have been solved by a firmware update of my modem/router (which was initiated by my ISP).
by wim16
12 Oct 2017, 14:43
Forum: RFlink: General Discussions
Topic: SelectRemote & RFLink, not transmitting correctly
Replies: 7
Views: 6771

Re: SelectRemote & RFLink, not transmitting correctly

The command you send should be a little different:

10;PT2262;43;0;OFF

See the examples on http://www.rflink.nl/blog2/protref
by wim16
16 Aug 2017, 10:41
Forum: ESP Easy: Projects / Applications
Topic: Rules don't work if not connected to wifi
Replies: 8
Views: 6317

Re: Rules don't work if not connected to wifi

I had a similar problem when my MQTT-broker went down; ESP's webpages were very slow then.
Probably because the ESP was busy trying to reconnect to the broker (which was shown in the log).
Problem dissapeared as soon as the broker was live again.
I don't know if that also stopped rules from working.
by wim16
09 Aug 2017, 13:01
Forum: ESP Easy: General Discussion
Topic: ESP active but webpages not reachable after some time
Replies: 21
Views: 20101

Re: ESP active but webpages not reachable after some time

Same here: free mem stays at 27960 all the time (which is about 3 days now).
by wim16
05 Aug 2017, 18:21
Forum: ESP Easy: General Discussion
Topic: ESP active but webpages not reachable after some time
Replies: 21
Views: 20101

Re: ESP active but webpages not reachable after some time

I do not restart the ESP but force it to reconnect to wifi; I think restarting the router will have the same effect.
One of my ESP's is just idling without any devices, I will let it report free memory and see if that gives a clue.
by wim16
05 Aug 2017, 12:01
Forum: ESP Easy: General Discussion
Topic: ESP active but webpages not reachable after some time
Replies: 21
Views: 20101

Re: ESP active but webpages not reachable after some time

Ok, I tried using a fixed IP but the results are no different so I switched back to DHCP. I do not use a timer to trigger my rule. Whenever I need to access an ESP whose webgui has become unreachable I trigger the event from the RPI-commandline using curl http://ESP-ip/control?cmd=event,reconnect_wi...
by wim16
01 Aug 2017, 10:00
Forum: ESP Easy: General Discussion
Topic: ESP active but webpages not reachable after some time
Replies: 21
Views: 20101

Re: ESP active but webpages not reachable after some time

Looks similar indeed.
I also thought of doing a reboot regularly but since the ESP keeps wifi connection my rule now contains a WifiDisconnect followed by a WifiConnect.
That works and does not destroy logs and settings.
by wim16
31 Jul 2017, 16:24
Forum: ESP Easy: General Discussion
Topic: ESP active but webpages not reachable after some time
Replies: 21
Views: 20101

Re: ESP active but webpages not reachable after some time

Do you have fixed IP's to MAC addresses within DHCP? Yes I have, but that is not a static IP. I static IP is managed by the device not by the router, that is why it must be outside the DHCP-block and why I'd rather use the router functionality to reserve a certain IP for a specific MAC. Anyway, I'v...
by wim16
31 Jul 2017, 15:28
Forum: ESP Easy: General Discussion
Topic: ESP active but webpages not reachable after some time
Replies: 21
Views: 20101

Re: ESP active but webpages not reachable after some time

Domosapiens, yes, it may be a router problem but the ESP's are the first devices with this problem. From Domoticz I send the commands using ESP-ip. Btw, curl or ping from the RPI also works. Using the web-browser fails. Static IP may well solve the problem but I'd rather us the IP-reservations of my...
by wim16
31 Jul 2017, 11:21
Forum: ESP Easy: General Discussion
Topic: ESP active but webpages not reachable after some time
Replies: 21
Views: 20101

Re: ESP active but webpages not reachable after some time

Well, it seems I am the only one with this problem. At least I have found a workaround, using the fact that the ESP still reponds to commands from Domoticz. I added a rule that reconnects to wifi and can be triggered from Domoticz. After that I have access to the unit again. Since I don't need the w...
by wim16
28 Jul 2017, 11:50
Forum: ESP Easy: General Discussion
Topic: ESP active but webpages not reachable after some time
Replies: 21
Views: 20101

ESP active but webpages not reachable after some time

Hello, I am using ESP Easy since a few months now on 3 NodeMCU''s and I like it. I only have a problem that the webpages cannot be reached after some time and the ESP is not in the IP-list of my router anymore. All ESP's use DHCP and it looks like something is going wrong with renewing the IP-lease....