Search found 3621 matches

by grovkillen
11 Jul 2017, 05:52
Forum: ESP Easy: General Discussion
Topic: Formula Syntax
Replies: 1
Views: 2142

Re: Formula Syntax

Wouldn't this do the same?

Code: Select all

(%value%+2)*0.06
by grovkillen
10 Jul 2017, 23:50
Forum: ESP Easy: Software
Topic: MHZ19 sensor working ??
Replies: 18
Views: 18303

Re: MHZ19 sensor working ??

Just thought I'd link to this workaround:

https://www.letscontrolit.com/wiki/inde ... th_own_IDX
by grovkillen
10 Jul 2017, 23:46
Forum: ESP Easy: General Discussion
Topic: "Load" and "Free Mem" (version 2.0.0-dev10)
Replies: 4
Views: 3893

Re: "Load" and "Free Mem" (version 2.0.0-dev10)

Free memory above 20000 (20kB) is a good value. The rest I leave for devs to comment.
by grovkillen
10 Jul 2017, 17:25
Forum: ESP Easy: General Discussion
Topic: Toggle a relais / relay for 1 second over MQTT?
Replies: 15
Views: 11325

Re: Toggle a relais / relay for 1 second over MQTT?

What I learnt moving to V2.0.0 is that you need to add 'MQTT Input' as a device to set a topic. And of cource Controller subscripe/publish if you want to have a feedback of the Relay-status. I use this little rule on mqtt_relay#state do if [mqtt_relay#state]=0 gpio,5,0 else gpio,5,1 endif endon to ...
by grovkillen
09 Jul 2017, 22:48
Forum: ESP Easy: General Discussion
Topic: Toggle a relais / relay for 1 second over MQTT?
Replies: 15
Views: 11325

Re: Toggle a relais / relay for 1 second over MQTT?

You can send that command over MQTT as well.

Topic

Code: Select all

<your_device_name>/cmd
Payload (message)

Code: Select all

Pulse,5,1,500
by grovkillen
08 Jul 2017, 08:22
Forum: ESP Easy: General Discussion
Topic: Toggle a relais / relay for 1 second over MQTT?
Replies: 15
Views: 11325

Re: Toggle a relais / relay for 1 second over MQTT?

Code: Select all

on button#state do
This piece of code will never fire off since you don't have a device called "button".
by grovkillen
07 Jul 2017, 14:43
Forum: ESP Easy: General Discussion
Topic: Toggle problem with domoticz
Replies: 1
Views: 2173

Re: Toggle problem with domoticz

Post your rules and devices and we will sort this in a jiffy.
by grovkillen
06 Jul 2017, 15:11
Forum: ESP Easy: Projects / Applications
Topic: Pushbutton as Switch Input ESPEasy Mega
Replies: 10
Views: 11458

Re: Pushbutton as Switch Input ESPEasy Mega

The keypad plugin is smoking new, wiki page is in the making. Stay tuned.
by grovkillen
06 Jul 2017, 06:06
Forum: ESP Easy: General Discussion
Topic: Toggle a relais / relay for 1 second over MQTT?
Replies: 15
Views: 11325

Re: Toggle a relais / relay for 1 second over MQTT?

on button#state do if [relay#state]=0 Pulse,12,1,500 else GPIO,12,0 endif endon on relay#state do if [relay#state]=1 GPIO,13,0 Publish /sonoff2/gpio/12,1 else GPIO,13,1 Publish /sonoff2/gpio/12,0 endif endon Just some formation and clean up of code. You might want to try this and get back with info...
by grovkillen
04 Jul 2017, 19:28
Forum: ESP Easy: Projects / Applications
Topic: Pushbutton as Switch Input ESPEasy Mega
Replies: 10
Views: 11458

Re: Pushbutton as Switch Input ESPEasy Mega

Either add an io extender (MCP23017, PCF8574) or use the new Keypad plugins (P061, P062, or P063).
by grovkillen
02 Jul 2017, 21:41
Forum: ESP Easy: Software
Topic: Rules Event On and OFF
Replies: 8
Views: 8406

Re: Rules Event On and OFF

Yes, 1 second might be a bit fast and possibly is casing the timer to miss the trigger. We need to make a small passus about short time when using timer (on the wiki).
by grovkillen
02 Jul 2017, 20:05
Forum: ESP Easy: General Discussion
Topic: ESP Easy restarting every ~2 hours, is this normal ?
Replies: 17
Views: 13195

Re: ESP Easy restarting every ~2 hours, is this normal ?

If you use that HTTP request in browser, do you see a message? That would be the response. I only use MQTT so I can't test right now.
by grovkillen
02 Jul 2017, 12:47
Forum: ESP Easy: Software
Topic: Rules Event On and OFF
Replies: 8
Views: 8406

Re: Rules Event On and OFF

Code: Select all

On vuurtorenuit do
timerSet,1,0
gpio,13,0
endon
That part should be

Code: Select all

On vuurtorenuit do
gpio,13,0
timerSet,1,0
endon
Since the "timerSet,1,0" will make the if break out the "On Rules#Timer=1 do" and never trigger "gpio,13,0".

Hope it helps
by grovkillen
01 Jul 2017, 19:39
Forum: ESP Easy: General Discussion
Topic: ESP Easy restarting every ~2 hours, is this normal ?
Replies: 17
Views: 13195

Re: ESP Easy restarting every ~2 hours, is this normal ?

It's not that hard. I got a 60 seconds up and running Mosquitto server that is 100% portable.
by grovkillen
01 Jul 2017, 18:01
Forum: ESP Easy: General Discussion
Topic: ESP Easy restarting every ~2 hours, is this normal ?
Replies: 17
Views: 13195

Re: ESP Easy restarting every ~2 hours, is this normal ?

For relays you don't use any device at all. You just control it on gpio level since no logic is needed. So remove your switch device.

For state I would send the state in a MQTT or HTTP message. I use rules for that.
by grovkillen
29 Jun 2017, 11:03
Forum: ESP Easy: Software
Topic: How to dissable AP mode?
Replies: 2
Views: 3655

Re: How to dissable AP mode?

Not a disable solution but you can always change the password for the AP from "configesp" to whatever...
by grovkillen
27 Jun 2017, 14:48
Forum: ESP Easy: Hardware
Topic: PMS7003 and MHZ19 ??
Replies: 4
Views: 4197

Re: PMS7003 and MHZ19 ??

vincen wrote: 27 Jun 2017, 13:48 ...as this one is too complicated...
Please come back and tell me what other firmware that meets your requirement for being not complicated. :)

I find ESP Easy top notch in that aspect (being easy I mean).
by grovkillen
27 Jun 2017, 09:54
Forum: ESP Easy: Software
Topic: [Solved] Unable to update Mosquitto server :(
Replies: 13
Views: 8313

Re: Unable to update Mosquitto server :(

Ok, sorry.

Do any messages appear in the app when subscribing to # ? (Found under "Topic")

PS. you don't need to add %value% to the formula if you are not doing anything with the value... leave it blank in that case.
by grovkillen
27 Jun 2017, 08:58
Forum: ESP Easy: Software
Topic: [Solved] Unable to update Mosquitto server :(
Replies: 13
Views: 8313

Re: Unable to update Mosquitto server :(

If you run latest 2.0.0-dev... you need to check "enabled" and "send to controller X" in order for the unit to send.

Please refer to this example:
Image
by grovkillen
27 Jun 2017, 08:37
Forum: ESP Easy: Software
Topic: [Solved] Unable to update Mosquitto server :(
Replies: 13
Views: 8313

Re: Unable to update Mosquitto server :(

Might be too obvious, but are the tasks/devices enabled in the settings menu?
by grovkillen
26 Jun 2017, 22:41
Forum: ESP Easy: Projects / Applications
Topic: Linking a SMART meter to home WiFi
Replies: 10
Views: 9775

Re: Linking a SMART meter to home WiFi

dynamicdave wrote: 26 Jun 2017, 19:48 Hi,
Here's a screenshot of my setup.
It looks very similar to yours.

Cheers from David
Debounce time 2mSec is really tight! Under 100 mSec is not ideal I would say.
by grovkillen
26 Jun 2017, 15:06
Forum: ESP Easy: Hardware
Topic: Water Meter - which sensor for pulse counting?
Replies: 6
Views: 6657

Re: Water Meter - which sensor for pulse counting?

LJ12A3 will probably work with that optical port since it is a metallic thing that is spinning.
by grovkillen
26 Jun 2017, 13:50
Forum: ESP Easy: Hardware
Topic: Water Meter - which sensor for pulse counting?
Replies: 6
Views: 6657

Re: Water Meter - which sensor for pulse counting?

Have you looked at this:

https://www.letscontrolit.com/wiki/index.php/LJ12A3

The hole in the middle, isn't that a optical communication port? (To the left of "pn 16" text.
by grovkillen
26 Jun 2017, 09:28
Forum: ESP Easy: Software
Topic: [Solved] Unable to update Mosquitto server :(
Replies: 13
Views: 8313

Re: Unable to update Mosquitto server :(

I seems to me that the connection between ESP Easy and Mosquitto is working correct. You could always download an app for the phone to sniff all messages. I use MQTT Snooper for Android. But the mqtt/out subscription tells me that you are not using a generic controller, more likely the Domoticz one?...
by grovkillen
26 Jun 2017, 08:09
Forum: ESP Easy: Software
Topic: [Solved] Unable to update Mosquitto server :(
Replies: 13
Views: 8313

Re: Unable to update Mosquitto server :(

What does the log say?
by grovkillen
25 Jun 2017, 21:09
Forum: ESP Easy: Projects / Applications
Topic: Boot problem
Replies: 2
Views: 2904

Re: Boot problem

https://www.letscontrolit.com/wiki/inde ... figuration

You should measure GPIO 15 during power on and see if it is LOW. If it is HIGH the unit will not boot. I guess the relay might give a signal HIGH on boot?
by grovkillen
22 Jun 2017, 20:03
Forum: ESP Easy: Software
Topic: newbie and Rules
Replies: 2
Views: 2437

Re: newbie and Rules

When you say "controller" 1 and 2 do you mean ESP Easy units?
by grovkillen
22 Jun 2017, 18:44
Forum: ESP Easy: Projects / Applications
Topic: Linking a SMART meter to home WiFi
Replies: 10
Views: 9775

Re: Linking a SMART meter to home WiFi

Please post your settings for that device.

This is my setup: https://www.letscontrolit.com/wiki/inde ... ogic_input
by grovkillen
22 Jun 2017, 12:34
Forum: ESP Easy: Projects / Applications
Topic: Linking a SMART meter to home WiFi
Replies: 10
Views: 9775

Re: Linking a SMART meter to home WiFi

According to the spec:s the unit has an "Optical communications port" which makes me believe that you could intercept the power/water/gas consumption using a pulse counter.

See more here on the wiki: https://www.letscontrolit.com/wiki/index.php/TCR5000
by grovkillen
22 Jun 2017, 08:24
Forum: ESP Easy: Software
Topic: Long pulse accurrancy
Replies: 5
Views: 4354

Re: Long pulse accurrancy

I don't know the behind the scenes code that is handling this but you could try to use rules instead. On 1secondPulse do gpio,12,1 timerSet,1,1 //timer 1 set for 1 second endon On 5secondPulse do gpio,12,1 timerSet,1,5 //timer 1 set to 5 seconds endon On Rules#Timer=1 do gpio,12,0 endOn Trigger thro...
by grovkillen
21 Jun 2017, 22:12
Forum: ESP Easy: General Discussion
Topic: Rule: If wifi not connect set gpioX 0 - possible?
Replies: 12
Views: 7730

Re: Rule: If wifi not connect set gpioX 0 - possible?

Rule using MQTT (importer) on sniff#cmdMQTT=1 do gpio,12,1 timerSet,1,600 //timer 1 set for 10 minutes Publish %sysname%/Valve,Open Publish %sysname%/Status,Started watering endon on sniff#cmdMQTT=2 do timerSet,1,0 //timer 1 set to halt Publish %sysname%/Valve,Close Publish %sysname%/Status,STOP wat...
by grovkillen
21 Jun 2017, 21:58
Forum: ESP Easy: General Discussion
Topic: Rule: If wifi not connect set gpioX 0 - possible?
Replies: 12
Views: 7730

Re: Rule: If wifi not connect set gpioX 0 - possible?

If you send the watering command as MQTT and fetch it through MQTT Import you can start the timer from there.

I'll try to give you an example... Hold on.
by grovkillen
21 Jun 2017, 13:12
Forum: ESP Easy: General Discussion
Topic: Rule: If wifi not connect set gpioX 0 - possible?
Replies: 12
Views: 7730

Re: Rule: If wifi not connect set gpioX 0 - possible?

Hey, thank you very much for this forum. i need a rule which set the status off defined gpios if the WiFi Signal is lost. I watering my garden with a Wemos D1 mini Pro -> 4 relay module -> 24V valve. I control it with Pimatic (pimatic.org) and the MQTT protocol. But, if i lost the WiFi signal i wan...
by grovkillen
20 Jun 2017, 14:35
Forum: ESP Easy: Hardware
Topic: ESPEASY 120 Relay will not low with Ultrasonic sensor
Replies: 10
Views: 6950

Re: ESPEASY 120 Relay will not low with Ultrasonic sensor

Have you tried another GPIO (just to test)? Default setting for GPIO4 is to be used as part of the i2c communication (SDA).

https://www.letscontrolit.com/wiki/inde ... figuration
by grovkillen
20 Jun 2017, 14:32
Forum: ESP Easy: General Discussion
Topic: How to validate rules?
Replies: 1
Views: 2040

Re: How to validate rules?

You could use the forum to validate :)
by grovkillen
19 Jun 2017, 23:09
Forum: ESP Easy: Software
Topic: electric pulse count to domoticz
Replies: 17
Views: 18405

Re: electric pulse count to domoticz

If you lets say have the delay for 60 seconds between the reports you could use the Count (aka Delta) with this formula to present consumption (speed) in kWh : %value%/600*60 Thus %value%/100 But this is only momentary consumption, not the true value since that need to take the Watts used during 1 h...
by grovkillen
19 Jun 2017, 20:33
Forum: ESP Easy: Hardware
Topic: Basic problem with inputs
Replies: 7
Views: 4760

Re: Basic problem with inputs

OK, got that part - but can I suggest that you default the value to 1, if defaulting to 0 causes frequent issues for noobs like me ? That would (potentially) cause problems for Domoticz. But this is a non-issue as of 2.0.0 which is due for release this summer. (You only need IDX if you use Domoticz...
by grovkillen
19 Jun 2017, 18:22
Forum: ESP Easy: Software
Topic: electric pulse count to domoticz
Replies: 17
Views: 18405

Re: electric pulse count to domoticz

What do you need them for? Total is the total pulses since last power cut and reboot. Time is the total time (I think) of the pulses. I don't use them myself.

If you want to use Total you use the same formula as for Count.
by grovkillen
19 Jun 2017, 13:51
Forum: ESP Easy: Software
Topic: HX711
Replies: 5
Views: 6059

Re: HX711

Newest ADS1115 plugin have differential measuring of input channels. So is HX711 still needed?
by grovkillen
19 Jun 2017, 10:53
Forum: ESP Easy: General Discussion
Topic: help to use a PME for input switch
Replies: 30
Views: 18392

Re: help to use a PME for input switch

Are the other pins on the ESP available? You can use 7 GPIOs on the ESP for the keys.

D0
D3
D4
D5
D6
D7
D8

Might be used?

Or you could use an analog input such as this where you only use one ANALOG input for ALL the KEYS?

In future releases this i2c board might be available as a plugin?
by grovkillen
19 Jun 2017, 08:59
Forum: ESP Easy: General Discussion
Topic: help to use a PME for input switch
Replies: 30
Views: 18392

Re: help to use a PME for input switch

I'm so sorry but I do not understand your use of the PME. Is not the ESP sufficient? You seem to only use input switches and relays?
by grovkillen
19 Jun 2017, 08:50
Forum: ESP Easy: Software
Topic: electric pulse count to domoticz
Replies: 17
Views: 18405

Re: electric pulse count to domoticz

Count (as I tried to state in my previous post "Delta/Count").

Delta is the new Count as of 2.0.0 (when it is released).