thanks
i am going it only to dim leds so it should be safe
Search found 206 matches
- 03 Mar 2021, 20:25
- Forum: ESP Easy: Software
- Topic: simple pwm question
- Replies: 2
- Views: 3624
- 02 Mar 2021, 18:14
- Forum: ESP Easy: Software
- Topic: simple pwm question
- Replies: 2
- Views: 3624
simple pwm question
when switching leds you can use either gpio or pwm gpio,14,0 (led off) gpio 14,1 (led on) pwm,14,0 (led off) pwm,14,500(led on at certain level) so i should either use gpio or PWM but not both for the same gpio pin (unless i reset pwm with pwm,14,0 first) what happens if you use them together eg pwm...
- 01 Mar 2021, 17:27
- Forum: ESP Easy: General Discussion
- Topic: GPIO pin state monitoring
- Replies: 7
- Views: 6805
Re: GPIO pin state monitoring
a workaround is to set avariable each time a gpio changes
then you can check or send it out with
if [VAR#4]=1
or publish .... [VAR#4]
Code: Select all
On gpio#4=1 do
Publish,MYESP/electrical.chargers.thruster,ON
let,4,1
endon
if [VAR#4]=1
or publish .... [VAR#4]
- 01 Mar 2021, 16:24
- Forum: ESP Easy: Software
- Topic: Pulse Counter P003 enhancement. How to give back?
- Replies: 109
- Views: 41436
Re: Pulse Counter P003 enhancement. How to give back?
i will try out the new P003 implementation to see if it also solves my problem(extra pulses) as soon as i get a mismatch in my current setup i will flash the new fw quick question at the moment i have set debounce time to 2400ms (maxflow is 24.9 liters so 60000/25=2400ms) when i use the new pulse lo...
- 23 Feb 2021, 20:31
- Forum: ESP Easy: Projects / Applications
- Topic: P1 meter reading with ESP8266 to domoticz
- Replies: 21
- Views: 21367
Re: P1 meter reading with ESP8266 to domoticz
and if you loose the 1k resistor(so basically only connect TX and GND)
also note that eveybody is talking about the RX but this is the RX of the terminal
The meter only has a TX which needs to connect to the RX pin on your usb-serial cable
one mistake which is often made because it is so simple.
also note that eveybody is talking about the RX but this is the RX of the terminal
The meter only has a TX which needs to connect to the RX pin on your usb-serial cable
one mistake which is often made because it is so simple.
- 23 Feb 2021, 20:19
- Forum: ESP Easy: Hardware
- Topic: best way to switch multiple leds
- Replies: 2
- Views: 6450
- 22 Feb 2021, 21:28
- Forum: ESP Easy: Hardware
- Topic: best way to switch multiple leds
- Replies: 2
- Views: 6450
best way to switch multiple leds
i want to switch multiple leds on/off seperately this is mostly done by hooking up a led with a 220ohm resistor in series between a GPIO port and the ground. When GPIO is 1 current will flow from GPIO to GND (Max current=12mA) When you hook up multiple leds te total current need to be supplied by th...
- 20 Feb 2021, 17:15
- Forum: ESP Easy: Projects / Applications
- Topic: P1 meter reading with ESP8266 to domoticz
- Replies: 21
- Views: 21367
Re: P1 meter reading with ESP8266 to domoticz
and do not forget the 1k between and rx
- 20 Feb 2021, 11:56
- Forum: ESP Easy: Projects / Applications
- Topic: P1 meter reading with ESP8266 to domoticz
- Replies: 21
- Views: 21367
Re: P1 meter reading with ESP8266 to domoticz
that looks right with the following remarks. i do not think you need to feed 5v into the meter. there is always a risk of blowing up things also mixing 5V and 3.3 volt without shielding those might cause problems if it is coming from the same source(the ESP) with my setup the 10k did not work and i ...
- 20 Feb 2021, 10:33
- Forum: ESP Easy: Projects / Applications
- Topic: P1 meter reading with ESP8266 to domoticz
- Replies: 21
- Views: 21367
Re: P1 meter reading with ESP8266 to domoticz
when i first connected my RFXTRX433XL to my meter i did not have any readings either. it turned out that the unit used a 10k pullup resistor which limited the current to much. i replaced it with a 2K2 resistor(as advised by the makers of RFXTRX433XL) and then i got good readings. in my case i got a ...
- 20 Feb 2021, 10:06
- Forum: ESP Easy: Hardware
- Topic: MH-Z19B settling in
- Replies: 5
- Views: 7156
Re: MH-Z19B settling in
i think i let it run for a while. it is still in test setup in my bedroom without any fancy enclosure. Also i am going to add an BME280 (have one already but the module is mounted to close to the esp8266 so temeperate is useless) since we have had really spectaculair weather in the netherlands as yo...
- 19 Feb 2021, 14:35
- Forum: ESP Easy: Hardware
- Topic: MH-Z19B settling in
- Replies: 5
- Views: 7156
Re: MH-Z19B settling in
ok i understand but did not figure the wear would go so fast.
indeed during the day it is around 400.
i think enabling ABC will not help because this will put the level to 400 while it is already 400 at the moment and i doubt the actual level will be lower than 400 at the moment
indeed during the day it is around 400.
i think enabling ABC will not help because this will put the level to 400 while it is already 400 at the moment and i doubt the actual level will be lower than 400 at the moment
- 19 Feb 2021, 12:42
- Forum: ESP Easy: Hardware
- Topic: MH-Z19B settling in
- Replies: 5
- Views: 7156
MH-Z19B settling in
when i first installed the MH-Z19B is had a range from 400 during the day to 1500 at night.
i noticed that every new night the maximum is getting lower.
does this mean the sensor get's less sensitive.
During the day it is still around 400 so it seems to work ok
ABC is disabled sfrom the start
i noticed that every new night the maximum is getting lower.
does this mean the sensor get's less sensitive.
During the day it is still around 400 so it seems to work ok
ABC is disabled sfrom the start
- 18 Feb 2021, 12:49
- Forum: ESP Easy: Software
- Topic: Pulse Counter P003 enhancement. How to give back?
- Replies: 109
- Views: 41436
Re: Pulse Counter P003 enhancement. How to give back?
good tip, did not know that they are now in the order of happening at bootup (bootup, mqttconnected, mqtt received, pulse counter action) also i mix gpio triggers with event triggers and i know that is not ideal. Edit. i noticed i made a new version to compensate for this new version with both GPIO ...
- 18 Feb 2021, 12:41
- Forum: ESP Easy: Software
- Topic: Pulse Counter P003 enhancement. How to give back?
- Replies: 109
- Views: 41436
Re: Pulse Counter P003 enhancement. How to give back?
i do not have a screenshot of the devices but if you read the code you can figur out what devices are configured en what the variables names are. coding ofcourse could be smoother but i was trying to solve a problem so cosmetics were not my first priority. i deleted the non involved sections device ...
- 18 Feb 2021, 10:32
- Forum: ESP Easy: Software
- Topic: Pulse Counter P003 enhancement. How to give back?
- Replies: 109
- Views: 41436
Re: Pulse Counter P003 enhancement. How to give back?
as mentioned earlier is am trying to solve a problem regarding extra pulses for months. I am now focussing on a solution instead of the problem with good results. Because the debounce time is not perfect i am taking a second step and solved the problem in rules this is a solution for extra pulses an...
- 17 Feb 2021, 17:06
- Forum: ESP Easy: General Discussion
- Topic: plugin interval question
- Replies: 6
- Views: 4472
Re: plugin interval question
totally clear now and thanks for the code efficiency.
i my mind i was focussed on that interval update speed and thought it would be limiting things but now i iunderstand.
i am not going to feed 2hz in to it but mostly 1/2 Hz at max.
i my mind i was focussed on that interval update speed and thought it would be limiting things but now i iunderstand.
i am not going to feed 2hz in to it but mostly 1/2 Hz at max.
- 17 Feb 2021, 16:02
- Forum: ESP Easy: General Discussion
- Topic: plugin interval question
- Replies: 6
- Views: 4472
Re: plugin interval question
this is going to be along discussion HaHa. i get most of what you are saying. question let's say i put a 2Hz signal on GPIO14 i create a dummy device on Task 1 (no other devices) interval 1 second What would be the variable update speed of TaskValueset 1,1 What would the gui update speed (variables ...
- 17 Feb 2021, 14:53
- Forum: ESP Easy: General Discussion
- Topic: plugin interval question
- Replies: 6
- Views: 4472
Re: plugin interval question
but if i delete the pulsecounter device then the interval limit is gone either way and i can feed that same signal into the GPIO14 port. so with only rules in place(no devices/plugins) i can use GPIO as an interrupt and it will react instantly the GPIO level changes and start whatever action i like(...
- 17 Feb 2021, 10:46
- Forum: ESP Easy: General Discussion
- Topic: [Solved] Get temperature from domoticz to display it
- Replies: 9
- Views: 15320
Re: [Solved] Get temperature from domoticz to display it
from within the ESP i flip a switch in domoticz which triggers a script SendToHTTP 192.168.1.50,8084,json.htm?type=command¶m=switchlight&idx=334&switchcmd=On //initiate mqtt broadcast in this script i have this this sends out 1 number which will be received by the MQTT import plugin ...
- 17 Feb 2021, 10:08
- Forum: ESP Easy: General Discussion
- Topic: plugin interval question
- Replies: 6
- Views: 4472
plugin interval question
The plugin interval settings on the pulsecounter plugin delays the refresh of the plugin variables (eg when set to 60 it sends out the values every 60 seconds) This plugin is using GPIO14 however when i make a rule which act on GPIO14 (On GPIO#14=0 do) this also gets a 60 second interval. i would ex...
- 15 Feb 2021, 08:59
- Forum: ESP Easy: General Discussion
- Topic: rules question - variable not updated?
- Replies: 11
- Views: 9966
Re: rules question - variable not updated?
that is exactly what is did. for me it is working but i use only a couple of variables @ _Cyber_ maybe the problem is that you are using variables above 10. i remember reading a post where this was a problem(it should not be) A simple test would be to store the unixtime in a variable, set a timer o...
- 15 Feb 2021, 08:57
- Forum: ESP Easy: General Discussion
- Topic: rules question - variable not updated?
- Replies: 11
- Views: 9966
Re: rules question - variable not updated?
that is exactly what is did. for me it is working but i use only a couple of variables A simple test would be to store the unixtime in a variable, set a timer on 1 second and store unix time in the next variable. If the difference is 1, then you have the double feature :) Another option could be to ...
- 14 Feb 2021, 12:33
- Forum: ESP Easy: General Discussion
- Topic: rules question - variable not updated?
- Replies: 11
- Views: 9966
Re: rules question - variable not updated?
i am using 20210114 build.
if it is not in that build than i still do not experience problems.
looking at the system variables it seems to store the entire %unixtime% value
if it is not in that build than i still do not experience problems.
looking at the system variables it seems to store the entire %unixtime% value
- 14 Feb 2021, 12:12
- Forum: ESP Easy: General Discussion
- Topic: Counterdebounce/High/Low
- Replies: 3
- Views: 5028
Re: Counterdebounce/High/Low
to avoid al these issues with the pulsecounter i am now trying to bypass it totally(only use the time for flow calculations) i use a dummy device and let it trigger through GPIO this way we have a sort of interrupt based counter instead of a 1 second base check. to avoid false pulses i measure the t...
- 13 Feb 2021, 13:33
- Forum: ESP Easy: General Discussion
- Topic: large numbers in variable
- Replies: 4
- Views: 4911
Re: large numbers in variable
thanks TD-er
- 13 Feb 2021, 10:18
- Forum: ESP Easy: General Discussion
- Topic: large numbers in variable
- Replies: 4
- Views: 4911
Re: large numbers in variable
ok. that post learns me that when i convert a unixtime value (1607951606) to binary i get around 31 bits so unixtime does not fit a variable if it can only hold 22 bits my question however was not if it will fit or not but if it can do these large calculations. i assume that for calculations the ESP...
- 13 Feb 2021, 09:19
- Forum: ESP Easy: General Discussion
- Topic: large numbers in variable
- Replies: 4
- Views: 4911
large numbers in variable
i recently discovered %unixtime% and i use this to time things(delta between actions) to be save i replaced it with %syssec_d% but discovered that this value resets every day(duhh) and that was causing other problems to keep things simple i want to do this Let,4,%unixtime%-1613000000 this will give ...
- 12 Feb 2021, 18:43
- Forum: ESP Easy: General Discussion
- Topic: rules question - variable not updated?
- Replies: 11
- Views: 9966
Re: rules question - variable not updated?
Nice. i was doing something similar with %unixtime% but did not have any problems at all just to be save i exchanged it for %syssec_d% :D I mean, the value for your dummy-var is to large! I think 65535 is the maximum. Edit: I already see, my post is nonsense... Not entirely nonsense... The limit isn...
- 10 Feb 2021, 19:07
- Forum: ESP Easy: General Discussion
- Topic: Counterdebounce/High/Low
- Replies: 3
- Views: 5028
Re: Counterdebounce/High/Low
i would love to have this as well
i know somebody made a p222 debounced counter but i never got it to work properly.
i know somebody made a p222 debounced counter but i never got it to work properly.
- 05 Feb 2021, 22:40
- Forum: ESP Easy: Hardware
- Topic: is there any need to use mhzabcdisable
- Replies: 3
- Views: 6446
Re: is there any need to use mhzabcdisable
thanks. good info.
this evening i will a window open to see what the max amount of co2 will be.
indeed tomorrow there will be snow so opening windows then is not an option.
this evening i will a window open to see what the max amount of co2 will be.
indeed tomorrow there will be snow so opening windows then is not an option.
- 05 Feb 2021, 21:16
- Forum: ESP Easy: Hardware
- Topic: is there any need to use mhzabcdisable
- Replies: 3
- Views: 6446
is there any need to use mhzabcdisable
the current P049 plugin for the MH-Z19 has a setting to disable ABC calibration. does this disable setting stick with reboots and power off/on? the reason i am asking is i see that there is an mhzabcdisable command but do not know if this should be used All the info i read dates back to 2017 so it l...
- 05 Feb 2021, 08:38
- Forum: ESP Easy: General Discussion
- Topic: mh-z19
- Replies: 4
- Views: 4038
Re: mh-z19
ok, clear now
- 04 Feb 2021, 22:54
- Forum: ESP Easy: General Discussion
- Topic: mh-z19
- Replies: 4
- Views: 4038
Re: mh-z19
ok thanks.
it boots fine when on D7/D8
i mainly flash over wifi but still if i needed to flash using the serial interface i would not like it to detach stuff
for now i will leave it on D7/D8
any thoughts on hooking it up to serial1?
what is meant by connecting it to -
it boots fine when on D7/D8
i mainly flash over wifi but still if i needed to flash using the serial interface i would not like it to detach stuff
for now i will leave it on D7/D8
any thoughts on hooking it up to serial1?
what is meant by connecting it to -
- 04 Feb 2021, 21:52
- Forum: ESP Easy: General Discussion
- Topic: mh-z19
- Replies: 4
- Views: 4038
mh-z19
finally got my sensor in after 2 months waiting currently havre i thooked up on D7-D8 an it seems to work 2 questions is hooking it up to D9-D10 better? i also see i could connect it trough I2C but as far as i can tell the MH-Z19 does not have the necesarry connections Any idea on to connect it thro...
- 29 Jan 2021, 16:56
- Forum: ESP Easy: Software
- Topic: Pulse Counter P003 enhancement. How to give back?
- Replies: 109
- Views: 41436
Re: Pulse Counter P003 enhancement. How to give back?
@TD-er, can you have a close look at the new Time implementation.
if this changes from total time between pulses to the time a pulse are high it will render the complete watermeter flow functionality useless
if this changes from total time between pulses to the time a pulse are high it will render the complete watermeter flow functionality useless
- 29 Jan 2021, 16:45
- Forum: ESP Easy: Software
- Topic: Pulse Counter P003 enhancement. How to give back?
- Replies: 109
- Views: 41436
Re: Pulse Counter P003 enhancement. How to give back?
interesting. The modified pulse low and pulse high might be a good implementation as long as the debounce time really blocks every pulse which is faster than the debouncetime.(so not once but always) and does so acoordingly to the type you have set(pulse high or pulse low) regarding the time modific...
- 22 Jan 2021, 16:30
- Forum: ESP Easy: General Discussion
- Topic: General timer question
- Replies: 2
- Views: 3045
Re: General timer question
ok thanks.
i thought so since the timer did already ended
clearing up the rules
i thought so since the timer did already ended
clearing up the rules
- 22 Jan 2021, 16:11
- Forum: ESP Easy: General Discussion
- Topic: can i do this in rules
- Replies: 5
- Views: 4237
Re: can i do this in rules
thanks.
changed the code so i can only check on 1 variable [VAR#2]
changed the code so i can only check on 1 variable [VAR#2]
- 22 Jan 2021, 14:47
- Forum: ESP Easy: General Discussion
- Topic: can i do this in rules
- Replies: 5
- Views: 4237
can i do this in rules
not sure if this works
i know i can compare 1 or multiple variables but am not sure if i can do calculations
on MQTT#value do
if [AAA#Total] - [BBB#Total] =1
do your thing
endif
Endon
i know i can compare 1 or multiple variables but am not sure if i can do calculations
on MQTT#value do
if [AAA#Total] - [BBB#Total] =1
do your thing
endif
Endon
- 22 Jan 2021, 08:31
- Forum: ESP Easy: General Discussion
- Topic: General timer question
- Replies: 2
- Views: 3045
General timer question
i am using a timer to reset a value to zero if XXX is not called then the timer will not start again My question since the timer will not start again is there any reason why i should use the timerSet,1,0 in the Rules? eg can i delete it? On Rules#Timer=1 do TaskValueSet 3,2,0 timerSet,1,0 EndOn On X...
- 12 Jan 2021, 11:10
- Forum: ESP Easy: Software
- Topic: pulsecounter acting strange after latest changes
- Replies: 20
- Views: 14250
Re: pulsecounter acting strange after latest changes
UPDATE: eveything seems to be working after all important to mention is that if we use the values combined then we MUST USE #All aparently the #Count, #Total and #Time do not work to trigger events So in my code i needed to change Watermeter#Count into Watermeter#All On Watermeter#Count do // When P...
- 12 Jan 2021, 10:04
- Forum: ESP Easy: Software
- Topic: pulsecounter acting strange after latest changes
- Replies: 20
- Views: 14250
Re: pulsecounter acting strange after latest changes
thanks. the second on Watermeter#Time was only added to see if i can spot an anommaly (very low time) normally i only have 1 on Watermeter event and with that one i still get extra pulses. regarding your extra functionality. 1 event only has one %eventvalue%, this is the reason i masde the second ev...
- 11 Jan 2021, 17:58
- Forum: ESP Easy: Software
- Topic: pulsecounter acting strange after latest changes
- Replies: 20
- Views: 14250
Re: pulsecounter acting strange after latest changes
looked at the timimgstats but do not know what to look for. i attached it regarding the queue i only had 1 On --Do command which was active on a 1 second base. i now added a second one to record possible low timings and store it in Maxflow for the time being if i record a reading lower than 2000 and...
- 11 Jan 2021, 16:03
- Forum: ESP Easy: Software
- Topic: pulsecounter acting strange after latest changes
- Replies: 20
- Views: 14250
Re: pulsecounter acting strange after latest changes
@TD-er i let this one run for a very long time but i still get some extra pulses some time. to make things easy i use the direct numbers from the pulsecounter itself eg. the Watermeter#total is the exact watermeternumber which i set with SetPulseCounterTotal so if here is an extra pulse we know for ...
- 11 Jan 2021, 15:37
- Forum: ESP Easy: General Discussion
- Topic: can we make an option to disable AP mode
- Replies: 7
- Views: 6276
Re: can we make an option to disable AP mode
ok, will check that.
- 05 Jan 2021, 12:53
- Forum: ESP Easy: General Discussion
- Topic: can we make an option to disable AP mode
- Replies: 7
- Views: 6276
can we make an option to disable AP mode
i have a new router which has a bit less range than the old one. because of that a Wemos D1 mini module which is on the second floor sometimes disconnected and connected again (-80DB signal) i replaced the module with another one but the problem remained(wemos does not have a good wifi antenna) no b...
- 13 Sep 2020, 14:55
- Forum: ESP Easy: Software
- Topic: temp sensors stopped after 25 days of usage
- Replies: 12
- Views: 8995
Re: temp sensors stopped after 25 days of usage
ok, i have regular esp units so we can rule out hardware
i will monitor this as well and get back after 25 days
the unit with the pulsecounter seems to work at that time because it was still sending out pulses.
that unit is set to wifi no sleep so this affects the functionality in a positive way
i will monitor this as well and get back after 25 days
the unit with the pulsecounter seems to work at that time because it was still sending out pulses.
that unit is set to wifi no sleep so this affects the functionality in a positive way
- 13 Sep 2020, 13:06
- Forum: ESP Easy: Software
- Topic: temp sensors stopped after 25 days of usage
- Replies: 12
- Views: 8995
temp sensors stopped after 25 days of usage
i was using 20200812 firmware for 25 days without problems. yesterday i noticed that the esp unit stopped updating 2 temp sensors(Environment - DS18b20) and a barometer sensor(Environment - BMx280) it was accessable thruogh the browser but just did not update the sensors. a reboot fixed the problem ...
- 02 Jun 2020, 13:17
- Forum: ESP Easy: Software
- Topic: pulsecounter acting strange after latest changes
- Replies: 20
- Views: 14250
Re: pulsecounter acting strange after latest changes
ok. it seems that after running stable for so long i tried to looosten up the settings i apparently changed the wifi no sleep after setting wifi to no sleep again the system seems stable also with the 20200426 build. it seems that this one setting can cause extra pulses could it be that some way whe...