Search found 206 matches
- 06 Apr 2020, 12:25
- Forum: ESP Easy: Software
- Topic: need some help with atom
- Replies: 9
- Views: 8674
Re: need some help with atom
i will try it out. i used to use arduino (which i got working some time ago) but lately it is only giving errors it amazes me that all these platforms are not idiot proof(yes i am the idiot) how hard is it to make 1 package which compiles out of the box all these dependencies are killing functionali...
- 05 Apr 2020, 18:16
- Forum: ESP Easy: Software
- Topic: need some help with atom
- Replies: 9
- Views: 8674
need some help with atom
I followed the tutorial on https://www.letscontrolit.com/wiki/index.php/Tutorial_building_and_uploading_with_platformio but still atom gives me errors i selected espeasy.ino pressed F7 and selected normal_esp8266_4m1m i see this at the beginning, do i need to remove the ifdef and last endif #ifdef P...
- 03 Apr 2020, 14:07
- Forum: ESP Easy: General Discussion
- Topic: Problem with a rule for MQ-7 Gas sensor
- Replies: 12
- Views: 10647
Re: Problem with a rule for MQ-7 Gas sensor
no problem.
next time i will mention what i changed
next time i will mention what i changed
- 03 Apr 2020, 13:29
- Forum: ESP Easy: General Discussion
- Topic: Problem with a rule for MQ-7 Gas sensor
- Replies: 12
- Views: 10647
- 02 Apr 2020, 08:40
- Forum: ESP Easy: General Discussion
- Topic: is it possible to set the time manually
- Replies: 7
- Views: 11148
Re: is it possible to set the time manually
thanks.
i found a lot of threads but none stated that it was implemented
classic RTFM HaHa.
i found a lot of threads but none stated that it was implemented
classic RTFM HaHa.
- 01 Apr 2020, 15:46
- Forum: ESP Easy: General Discussion
- Topic: is it possible to set the time manually
- Replies: 7
- Views: 11148
- 01 Apr 2020, 14:43
- Forum: ESP Easy: General Discussion
- Topic: Problem with a rule for MQ-7 Gas sensor
- Replies: 12
- Views: 10647
Re: Problem with a rule for MQ-7 Gas sensor
is the problem not that you do a check on an ON statement i am not an experienced ESPEasy rules guru bu can you try on MQ7_Calibration_Start-Stop#etat do //switch pressed TaskValueSet 8,1,[MQ7_Calibration_Start-Stop#etat] set switch pressed setting to Calibration_MQ7#etat if [Calibration_MQ7#etat]=1
- 01 Apr 2020, 11:12
- Forum: ESP Easy: General Discussion
- Topic: is it possible to set the time manually
- Replies: 7
- Views: 11148
is it possible to set the time manually
i need to test something on the esp and like to set the time manually to a certain time (23:59)
is this possible?
is this possible?
- 31 Mar 2020, 16:00
- Forum: ESP Easy: General Discussion
- Topic: MQTT interval settings
- Replies: 29
- Views: 13887
Re: MQTT interval settings
maybe you are explaining something i am already doing because i still do not get it. i get the explanation, i get your explanation i do not get how this relates to my situation i currently wait for Watermeter#count to change (this is an event right) i then act on it by checking the value of watermet...
- 31 Mar 2020, 14:25
- Forum: ESP Easy: General Discussion
- Topic: MQTT interval settings
- Replies: 29
- Views: 13887
Re: MQTT interval settings
i have read it but still not clear. Event,Multi=1,2,3,99 what is Multi? is it the name of the Task? i have a pulsecounter called watermeter with Count, Total,Time i also have a temp sensor with only trmperature. i understand that you can trigger an event on a base that something is received but do n...
- 31 Mar 2020, 13:01
- Forum: ESP Easy: General Discussion
- Topic: MQTT interval settings
- Replies: 29
- Views: 13887
Re: MQTT interval settings
thanks. i will try to narrow my search. eventually i will solve this thing :-) i recognize the Clunk sound HaHa how can i use the event variables and the interval recorded from the rules page. i know i have read somewhere that there is a change between values recorded and values ehich are vissible o...
- 31 Mar 2020, 09:25
- Forum: ESP Easy: General Discussion
- Topic: MQTT interval settings
- Replies: 29
- Views: 13887
Re: MQTT interval settings
ok i will try. my pulsecounter is set at an interval of 1 second(so the counter resets every second) the max pulses i get is around 1 pulse every 2.4 seconds(25 liters per second) so to avoid jitter(which is also done with the debounce time) i only send a pulse if the time is greater than 2000ms(eg ...
- 30 Mar 2020, 20:09
- Forum: ESP Easy: General Discussion
- Topic: MQTT interval settings
- Replies: 29
- Views: 13887
Re: MQTT interval settings
thanks for checking. i can use all the help i can get.. here are the devices so you can see what i am using. i have a pulsemeter called Watermeter and a dummy device called Water so it looks like that rule is ok. the reason for dummy device is i can not use the values from the pulsecounter direcly(m...
- 30 Mar 2020, 19:38
- Forum: ESP Easy: General Discussion
- Topic: MQTT interval settings
- Replies: 29
- Views: 13887
Re: MQTT interval settings
@TD-er i discovered what looks like the root cause of the problem. however the problem seems very strange. i changed the rules so i can see what the total count is as well as the daily count on both ESP and in domoticz. what looked like a MQTT or transmission problem actually seems to be a calcultat...
- 29 Mar 2020, 20:59
- Forum: ESP Easy: General Discussion
- Topic: MQTT interval settings
- Replies: 29
- Views: 13887
Re: MQTT interval settings
ok thanks. everything was totally stable for 3 days and and of a sudden 5 missed pulses. i suspect that this problem might be related to wifi stablitity this is easilly checked because the amount in the ESP is different then the one in domoticz. Since the values in the ESP are now right i am going t...
- 29 Mar 2020, 16:38
- Forum: ESP Easy: Software
- Topic: Change Total value of a pulse counter with command
- Replies: 85
- Views: 42948
Re: Change Total value of a pulse counter with command
ok i will mention it on github as a wanted feature.
no hurry
no hurry
- 29 Mar 2020, 15:46
- Forum: ESP Easy: Software
- Topic: Change Total value of a pulse counter with command
- Replies: 85
- Views: 42948
Re: Change Total value of a pulse counter with command
i understand
for multiple pulses per second it is not a good feature but for measuring the watermeter (max 1 pulse every 2 seconds).
maybe making it an option and when that option is enabled force the minimum debounce time to 1-2 seconds to avoid running out of resources
for multiple pulses per second it is not a good feature but for measuring the watermeter (max 1 pulse every 2 seconds).
maybe making it an option and when that option is enabled force the minimum debounce time to 1-2 seconds to avoid running out of resources
- 28 Mar 2020, 21:00
- Forum: ESP Easy: General Discussion
- Topic: MQTT interval settings
- Replies: 29
- Views: 13887
Re: MQTT interval settings
still testing with the 250ms interval settings and 300ms timeout setting. i took a shower which is taking approx 12 liters a minute (5 seconds between pulse) i noticed that despite the 250ms interval setting the time between messages when they arrive at domoticz is not 250ms but 200ms or sometimes e...
- 28 Mar 2020, 16:25
- Forum: ESP Easy: Software
- Topic: Change Total value of a pulse counter with command
- Replies: 85
- Views: 42948
Re: Change Total value of a pulse counter with command
i think i am using the functionality you mean. i do not care if the pulsecounter looses its values after a reboot because i copy all the values i need to a dummy device which survives a reboot i also attach my script i am using mqtt to send out stuff to domoticz but also added the http variant comme...
- 28 Mar 2020, 10:54
- Forum: Introduce yourself
- Topic: Hello from France
- Replies: 2
- Views: 6381
Re: Hello from France
Same here. in a time where we complain a lot it is very nice to see that other people make time and effort to please other people. ESPeasy is like it's name, very easy to implement and it integrates very nice with Domoticz or Node-Red. Sure it is not perfect but we do not want it to be perfect becau...
- 28 Mar 2020, 09:42
- Forum: ESP Easy: General Discussion
- Topic: MQTT interval settings
- Replies: 29
- Views: 13887
Re: MQTT interval settings
with http i experiencd the same problems(most of the time extra pulses instead of missing pulses) so it looks like it has nothing to do with the protocol now with MQTT i experience more logical things, if i miss a pulse i can see that(because it was counted inside the esp but not in domoticz) maybe ...
- 28 Mar 2020, 09:22
- Forum: ESP Easy: General Discussion
- Topic: MQTT interval settings
- Replies: 29
- Views: 13887
Re: MQTT interval settings
yes, i only send +1 to an incremental counter. That counter also shows the daily usage. so i can check the real meter value against the domoticz meter value and i check the total counts is esp(gets reset at 00:00) against the daily usage on the domoticz meter. both numbers need to be the same, which...
- 27 Mar 2020, 12:58
- Forum: ESP Easy: General Discussion
- Topic: MQTT interval settings
- Replies: 29
- Views: 13887
Re: MQTT interval settings
my MQTT broker is local and running as a mosquitto package on synology. the behaviour i am facing is this i use a pulsecounter to send out 1 pulse per liter for my watermeter this pulse arrives in domoticz on a counter incremental once synced every pulse detected should increment the watermeter in d...
- 26 Mar 2020, 08:39
- Forum: ESP Easy: General Discussion
- Topic: MQTT interval settings
- Replies: 29
- Views: 13887
Re: MQTT interval settings
i do not think that the queue gets flooded because like i said i am sending out 1 message every 30 seconds, 1 message every 60 seconds and when the pulsecounter is counting max 2 messages together per 2 seconds. my thoughts were when those messages once in a while are send out at the same time. i ch...
- 24 Mar 2020, 21:46
- Forum: ESP Easy: General Discussion
- Topic: MQTT interval settings
- Replies: 29
- Views: 13887
Re: MQTT interval settings
good info. it is not that i want to send out messages faster than 100ms but i think that once in a while this is the case thus causing lost or multiple packets i have a temp sensor which sends out temp every 60 seconds the pulsecounter triggers a rule which sends out 2 messages right after each othe...
- 24 Mar 2020, 17:23
- Forum: ESP Easy: General Discussion
- Topic: MQTT interval settings
- Replies: 29
- Views: 13887
Re: MQTT interval settings
check, Thanks. i am doing some tests with the delays to see if the pulsecounter can react more accurately. i suspect that the 100ms delay is sometimes causing dropped messages or repeated messages. when lowering the delay to 10ms i got instantly more pulses(probably messages which were send out more...
- 24 Mar 2020, 11:59
- Forum: ESP Easy: General Discussion
- Topic: MQTT interval settings
- Replies: 29
- Views: 13887
Re: MQTT interval settings
offcourse i first checked the manuals and documentation :-) Minimum send interval is in the docs, message interval is not. it looks like it is the same setting but you can change it on 2 different locations(controller settings and advanced settings) i changed controller setting to 200ms and left the...
- 23 Mar 2020, 20:06
- Forum: ESP Easy: General Discussion
- Topic: MQTT interval settings
- Replies: 29
- Views: 13887
MQTT interval settings
i see MQTT interval settings in 2 different places
under
MQTT controller
Controller Queue
Minimum Send Interval: 100[ms]
under
Controller Settings
MQTT Retain Msg:
Message Interval: 100[ms]
what is the difference?
is this interval also used when using rules?
under
MQTT controller
Controller Queue
Minimum Send Interval: 100[ms]
under
Controller Settings
MQTT Retain Msg:
Message Interval: 100[ms]
what is the difference?
is this interval also used when using rules?
- 19 Mar 2020, 18:18
- Forum: ESP Easy: General Discussion
- Topic: trigger on GPIO or task, does it matter
- Replies: 4
- Views: 8883
Re: trigger on GPIO or task, does it matter
tested it and it makes no difference. changd things back to use only the variables from the plugin to get a more consistent flow value
- 17 Mar 2020, 19:56
- Forum: ESP Easy: General Discussion
- Topic: trigger on GPIO or task, does it matter
- Replies: 4
- Views: 8883
Re: trigger on GPIO or task, does it matter
i am testing this at the moment to see if it is more accurate when used with the generic pulsecounter. The pulsecounter only triggers on an interval base. When you set the interval to 1 second it is workable but then you can get to a situation that when the counter is triggered and the 1 second time...
- 16 Mar 2020, 08:16
- Forum: ESP Easy: General Discussion
- Topic: 150 days online
- Replies: 34
- Views: 31918
Re: 150 days online
good to hear.
i recently had an idea to reset counters at midnight.
Turned out that it did not work(because i did not have an accurate time)
so i turned on NTP so let's wait and see
i recently had an idea to reset counters at midnight.
Turned out that it did not work(because i did not have an accurate time)
so i turned on NTP so let's wait and see
- 14 Mar 2020, 22:02
- Forum: ESP Easy: Software
- Topic: MQTT Import data format
- Replies: 3
- Views: 5118
Re: MQTT Import data format
when i look at my MQTT data it also is a JSON string but it uses double quotes(") instead of single quotes(')
so maybe you can try to change the MQTT code you are sending and replace ' with "
so maybe you can try to change the MQTT code you are sending and replace ' with "
- 14 Mar 2020, 20:06
- Forum: ESP Easy: Projects / Applications
- Topic: HTTP Request for dummy device
- Replies: 3
- Views: 12483
Re: HTTP Request for dummy device
i think you can not get a single value. what you can get is a json string with all the values if you have node-red it is easy to get a single value from it http://192.168.1.129/json?view=sensorupdate otherwise the idea is to send the value from espeasy to another application by using http or MQTT wh...
- 14 Mar 2020, 14:18
- Forum: ESP Easy: General Discussion
- Topic: trigger on GPIO or task, does it matter
- Replies: 4
- Views: 8883
trigger on GPIO or task, does it matter
in my current rules i trigger a task by monitoring a change of that task value. does it make a difference to monitor a gpio pin instead and run a task, based on that change. eg, is there a difference in responsetime, cpu overhead i know when i want to monitor a gpio pin i need to add a monitor comma...
- 22 Feb 2020, 11:17
- Forum: ESP Easy: General Discussion
- Topic: 150 days online
- Replies: 34
- Views: 31918
Re: 150 days online
i do not use ntp since i do not need the time.
this might also help in stability.
probing ntp servers and failing to update might screw up the data flow and affect things(eg when the esp is busy updating it can not do something else)
just my thoughts
this might also help in stability.
probing ntp servers and failing to update might screw up the data flow and affect things(eg when the esp is busy updating it can not do something else)
just my thoughts
- 17 Feb 2020, 17:29
- Forum: ESP Easy: Software
- Topic: mega-20200204 seems more stable
- Replies: 1
- Views: 4102
mega-20200204 seems more stable
i have the latest mega bild running for a week now and sofar it seems more stable then previous one. i use it as a pulsecounter. with the previous build i had the idea that i was either missing pulses or i had to much pulses(jitter). With this build i hardly miss a pulse and sofar no big jitter prob...
- 17 Feb 2020, 17:14
- Forum: ESP Easy: General Discussion
- Topic: What are the timings to collect dat aand send MQTT update ?
- Replies: 4
- Views: 7566
Re: What are the timings to collect dat aand send MQTT update ?
not an expert but recently figured this out 1/ depending on "interval" value defined for each sensor ? If I set Temprature measurement to 15s, the temp will me measured every 15s and dat sent over MQTT. Correct, if interval is set to 15s it will send a message every 15 seconds 2/ depending...
- 15 Feb 2020, 13:07
- Forum: ESP Easy: Hardware
- Topic: can not get BMP280 to work
- Replies: 7
- Views: 15480
Re: can not get BMP280 to work
got it working.
i noticed a connection which was not 100% ok
under a microscope i was able to do some soldering on the pcb.
also once i got it working i tested by removing the SDO and CSB connection, still working and defaults to I2C and 0x76
thanks for the help
i noticed a connection which was not 100% ok
under a microscope i was able to do some soldering on the pcb.
also once i got it working i tested by removing the SDO and CSB connection, still working and defaults to I2C and 0x76
thanks for the help
- 15 Feb 2020, 10:53
- Forum: ESP Easy: Hardware
- Topic: can not get BMP280 to work
- Replies: 7
- Views: 15480
Re: can not get BMP280 to work
thanks i am going to inspect the module under a magnifying glass because it is hooked up exactly like you said. i even changed address to 0x77 to make sure there is not a bug in the plugin which defaults to that(both 0x76 and 0x77 do not work) if i bought this one at aliexpress i could live with tha...
- 15 Feb 2020, 10:00
- Forum: ESP Easy: Hardware
- Topic: is there a nodemcu v3 socket available
- Replies: 3
- Views: 11235
Re: is there a nodemcu v3 socket available
yes i have that one.
good for testing but i need something for final results
eg with the wemos board you can solder everything on the board
i now use header connectors and solder everything on those but since the 2 header connectors are not mounted to each other the components float
good for testing but i need something for final results
eg with the wemos board you can solder everything on the board
i now use header connectors and solder everything on those but since the 2 header connectors are not mounted to each other the components float
- 15 Feb 2020, 08:34
- Forum: ESP Easy: Hardware
- Topic: can not get BMP280 to work
- Replies: 7
- Views: 15480
Re: can not get BMP280 to work
it is this one.
got it from opencircuits (expensive but fast shipping)
so you are saying VCC should be connected to 5V (on the site it states max 3.6v)
as far as i can tell there is no standard for VCC
got it from opencircuits (expensive but fast shipping)
so you are saying VCC should be connected to 5V (on the site it states max 3.6v)
as far as i can tell there is no standard for VCC
- 14 Feb 2020, 22:59
- Forum: ESP Easy: Hardware
- Topic: can not get BMP280 to work
- Replies: 7
- Views: 15480
Re: can not get BMP280 to work
no it did not discover the module.
also i tried putting the module to 0x77 (connect SDO to 3.3v) but this did not help either.
really strange
tried other wemos module but the same result so the problem is either a faulty module or something i missed
also i tried putting the module to 0x77 (connect SDO to 3.3v) but this did not help either.
really strange
tried other wemos module but the same result so the problem is either a faulty module or something i missed
- 14 Feb 2020, 18:43
- Forum: ESP Easy: Hardware
- Topic: can not get BMP280 to work
- Replies: 7
- Views: 15480
can not get BMP280 to work
i have a BMP280 connected to a Wemos D1 mini running latest ESPeasy mega software i am using the BMX280 plugin VCC on 3.3V GND op GND SCL op D1 SDA op D2 CSB 3.3V (to select i2C) SD0 GND (to select 0x76 adres) somehow i do net get any data in hardware page is also on default SDA GPIO-4 D2 SCL GPIO-5...
- 12 Feb 2020, 20:25
- Forum: ESP Easy: Hardware
- Topic: is there a nodemcu v3 socket available
- Replies: 3
- Views: 11235
is there a nodemcu v3 socket available
i noticed that regarding wemos D1 mini lots of options are available with either header connectors(which are included) or daughter pcb's for the nodemcu's (V2 and V3) i can not find anything. just a simple pcb with headers should do the trick but nothing exists, you need to make everything yourself ...
- 12 Feb 2020, 20:21
- Forum: ESP Easy: Software
- Topic: Send Pulse Counter Value immediately to MQTT
- Replies: 4
- Views: 6564
Re: Send Pulse Counter Value immediately to MQTT
ok but if you set the interval to 1 second you get at least 1 trigger per second. this means that if the value changes within that second it is send. if it changes more times in 1 second then indeed it does not work. i also wanted the device to send a pulse whenever a change is received instead of r...
- 12 Feb 2020, 16:20
- Forum: ESP Easy: Software
- Topic: Send Pulse Counter Value immediately to MQTT
- Replies: 4
- Views: 6564
Re: Send Pulse Counter Value immediately to MQTT
i would do an extra check on the time to skip that bounce first on the pulsecounter device deselect send to controller and put interval to 1 second Then you need to know what your fastest good pulse is going to be eg if your fastest pulse is 2000ms then do a test that the pulse received is a good pu...
- 05 Feb 2020, 18:03
- Forum: RFLink: Nederlands support forum
- Topic: Smartwares 868mhz apparaten koppelen aan RF-link
- Replies: 2
- Views: 28106
Re: Smartwares 868mhz apparaten koppelen aan RF-link
setup-settings-accept new hardware aanzetten. daana zouden apparaten die de rflink herkent automatisch ook in domoticz moeten verschijnen. Je hoeft ze dus niet handmatig aan te maken. zo werkt het bij mij(maar ik heb een RFXcom maar ga er van uit dat rflink hetzelfde werkt) bij RFXcom kan ik echter ...
- 03 Feb 2020, 18:23
- Forum: ESP Easy: Software
- Topic: Pulse counter - Is this correct settings for the signal?
- Replies: 4
- Views: 5792
Re: Pulse counter - Is this correct settings for the signal?
change means it counts a pulse when the signal goes from 0-1 and also when going from 1-0 in your case you want to count the pulse so it needs to be either falling or rising falling counts when signal goes from 1-0 rising when signal goes from 0-1 you state your pulse is 50-100ms what you need to kn...
- 03 Feb 2020, 18:15
- Forum: ESP Easy: General Discussion
- Topic: rules calculate time difference in milliseconds
- Replies: 10
- Views: 8946
Re: rules calculate time difference in milliseconds
indeed we should here is the complete script(i left some stuff in so that it is backwards compatible in case i want to start counting pulses again every 60 seconds On System#Boot do // When the ESP boots, do TaskValueSet 3,1,0 // TaskValueSet TASKnr,VARnr,Value, Reset the Liters counter to 0 TaskVal...
- 03 Feb 2020, 15:19
- Forum: ESP Easy: General Discussion
- Topic: rules calculate time difference in milliseconds
- Replies: 10
- Views: 8946
Re: rules calculate time difference in milliseconds
sure, here is the code On Watermeter#Count do // When Pulse is detected if [Watermeter#Count] > 0 SendToHTTP 192.168.1.50,8084,/json.htm?type=command¶m=udevice&idx=337&nvalue=0&svalue=1 TaskValueSet 3,3,60000/[Watermeter#Time] SendToHTTP 192.168.1.50,8084,/json.htm?type=command&a...