Search found 52 matches

by GravityRZ
02 Apr 2020, 08:40
Forum: ESP Easy: General Discussion
Topic: is it possible to set the time manually
Replies: 6
Views: 96

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.
by GravityRZ
01 Apr 2020, 15:46
Forum: ESP Easy: General Discussion
Topic: is it possible to set the time manually
Replies: 6
Views: 96

Re: is it possible to set the time manually

seb82 wrote:
01 Apr 2020, 15:05
Easier: use the Timezone Offset option in advanced configuration
thanks tried it at the beginning but is was not working (offset to big)
tried it again and this is a workable solution when it is 15:00 and want to test 00:00 functionality
by GravityRZ
01 Apr 2020, 14:43
Forum: ESP Easy: General Discussion
Topic: Problem with a rule for MQ-7 Gas sensor
Replies: 8
Views: 112

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
by GravityRZ
01 Apr 2020, 11:12
Forum: ESP Easy: General Discussion
Topic: is it possible to set the time manually
Replies: 6
Views: 96

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?
by GravityRZ
31 Mar 2020, 16:00
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 29
Views: 679

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...
by GravityRZ
31 Mar 2020, 14:25
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 29
Views: 679

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...
by GravityRZ
31 Mar 2020, 13:01
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 29
Views: 679

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...
by GravityRZ
31 Mar 2020, 09:25
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 29
Views: 679

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 ...
by GravityRZ
30 Mar 2020, 20:09
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 29
Views: 679

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...
by GravityRZ
30 Mar 2020, 19:38
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 29
Views: 679

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...
by GravityRZ
29 Mar 2020, 20:59
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 29
Views: 679

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...
by GravityRZ
29 Mar 2020, 16:38
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 16
Views: 3836

Re: Change Total value of a pulse counter with command

ok i will mention it on github as a wanted feature.
no hurry
by GravityRZ
29 Mar 2020, 15:46
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 16
Views: 3836

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
by GravityRZ
28 Mar 2020, 21:00
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 29
Views: 679

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...
by GravityRZ
28 Mar 2020, 16:25
Forum: ESP Easy: Software
Topic: Change Total value of a pulse counter with command
Replies: 16
Views: 3836

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...
by GravityRZ
28 Mar 2020, 10:54
Forum: Introduce yourself
Topic: Hello from France
Replies: 2
Views: 57

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...
by GravityRZ
28 Mar 2020, 09:42
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 29
Views: 679

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 ...
by GravityRZ
28 Mar 2020, 09:22
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 29
Views: 679

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...
by GravityRZ
27 Mar 2020, 12:58
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 29
Views: 679

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...
by GravityRZ
26 Mar 2020, 08:39
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 29
Views: 679

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...
by GravityRZ
24 Mar 2020, 21:46
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 29
Views: 679

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...
by GravityRZ
24 Mar 2020, 17:23
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 29
Views: 679

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...
by GravityRZ
24 Mar 2020, 11:59
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 29
Views: 679

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...
by GravityRZ
23 Mar 2020, 20:06
Forum: ESP Easy: General Discussion
Topic: MQTT interval settings
Replies: 29
Views: 679

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?
by GravityRZ
19 Mar 2020, 18:18
Forum: ESP Easy: General Discussion
Topic: trigger on GPIO or task, does it matter
Replies: 2
Views: 1132

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
by GravityRZ
17 Mar 2020, 19:56
Forum: ESP Easy: General Discussion
Topic: trigger on GPIO or task, does it matter
Replies: 2
Views: 1132

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...
by GravityRZ
16 Mar 2020, 08:16
Forum: ESP Easy: General Discussion
Topic: 150 days online
Replies: 35
Views: 6770

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
by GravityRZ
14 Mar 2020, 22:02
Forum: ESP Easy: Software
Topic: MQTT Import data format
Replies: 3
Views: 994

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 "
by GravityRZ
14 Mar 2020, 20:06
Forum: ESP Easy: Projects / Applications
Topic: HTTP Request for dummy device
Replies: 3
Views: 2191

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...
by GravityRZ
14 Mar 2020, 14:18
Forum: ESP Easy: General Discussion
Topic: trigger on GPIO or task, does it matter
Replies: 2
Views: 1132

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...
by GravityRZ
22 Feb 2020, 11:17
Forum: ESP Easy: General Discussion
Topic: 150 days online
Replies: 35
Views: 6770

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
by GravityRZ
17 Feb 2020, 17:29
Forum: ESP Easy: Software
Topic: mega-20200204 seems more stable
Replies: 1
Views: 1898

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...
by GravityRZ
17 Feb 2020, 17:14
Forum: ESP Easy: General Discussion
Topic: What are the timings to collect dat aand send MQTT update ?
Replies: 2
Views: 1947

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 on 'inter...
by GravityRZ
15 Feb 2020, 13:07
Forum: ESP Easy: Hardware
Topic: can not get BMP280 to work
Replies: 7
Views: 2646

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
by GravityRZ
15 Feb 2020, 10:53
Forum: ESP Easy: Hardware
Topic: can not get BMP280 to work
Replies: 7
Views: 2646

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...
by GravityRZ
15 Feb 2020, 10:00
Forum: ESP Easy: Hardware
Topic: is there a nodemcu v3 socket available
Replies: 3
Views: 2579

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
by GravityRZ
15 Feb 2020, 08:34
Forum: ESP Easy: Hardware
Topic: can not get BMP280 to work
Replies: 7
Views: 2646

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
bmp280.JPG
bmp280.JPG (38.06 KiB) Viewed 2611 times
by GravityRZ
14 Feb 2020, 22:59
Forum: ESP Easy: Hardware
Topic: can not get BMP280 to work
Replies: 7
Views: 2646

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
by GravityRZ
14 Feb 2020, 18:43
Forum: ESP Easy: Hardware
Topic: can not get BMP280 to work
Replies: 7
Views: 2646

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...
by GravityRZ
12 Feb 2020, 20:25
Forum: ESP Easy: Hardware
Topic: is there a nodemcu v3 socket available
Replies: 3
Views: 2579

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 ...
by GravityRZ
12 Feb 2020, 20:21
Forum: ESP Easy: Software
Topic: Send Pulse Counter Value immediately to MQTT
Replies: 4
Views: 2694

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...
by GravityRZ
12 Feb 2020, 16:20
Forum: ESP Easy: Software
Topic: Send Pulse Counter Value immediately to MQTT
Replies: 4
Views: 2694

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...
by GravityRZ
05 Feb 2020, 18:03
Forum: RFLink: Nederlands support forum
Topic: Smartwares 868mhz apparaten koppelen aan RF-link
Replies: 2
Views: 2298

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 ...
by GravityRZ
03 Feb 2020, 18:23
Forum: ESP Easy: Software
Topic: Pulse counter - Is this correct settings for the signal?
Replies: 4
Views: 2640

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...
by GravityRZ
03 Feb 2020, 18:15
Forum: ESP Easy: General Discussion
Topic: rules calculate time difference in milliseconds
Replies: 10
Views: 3166

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...
by GravityRZ
03 Feb 2020, 15:19
Forum: ESP Easy: General Discussion
Topic: rules calculate time difference in milliseconds
Replies: 10
Views: 3166

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¶m=udevice&idx...
by GravityRZ
31 Jan 2020, 08:56
Forum: ESP Easy: General Discussion
Topic: ESP Easy Flasher
Replies: 132
Views: 62567

Re: ESP Easy Flasher

nice tool.
i use it a lot since it is really fast to flash standard esp builds

especially the post stuff like SSID and wpa2 key are nice
i have wpa2 with special characters and they do not get accepted by the esp setup page but i can send it easilly to the esp with the flasher tool

thanks
by GravityRZ
31 Jan 2020, 08:48
Forum: ESP Easy: General Discussion
Topic: can rules process multiple actions
Replies: 1
Views: 2422

can rules process multiple actions

I currently use a rules script which acts on a variable I also use a rule which act on a timer what happens if these get triggered at the same time? will one fail to execute, will they be queued> On Watermeter#Count do On Rules#Timer=1 do The reason i ask is the resoltion of the timer is on a second...
by GravityRZ
31 Jan 2020, 08:43
Forum: ESP Easy: General Discussion
Topic: rules calculate time difference in milliseconds
Replies: 10
Views: 3166

Re: rules calculate time difference in milliseconds

i noticed that the time variable from the pulse counter is actually showing the time between pulses in ms.

i am now taking that number to calculate the flow in liters

e.g. 60000/ Time= flow

seems to work very accurate and also the number correspond with the flow i expect.
by GravityRZ
27 Jan 2020, 16:01
Forum: ESP Easy: General Discussion
Topic: rules calculate time difference in milliseconds
Replies: 10
Views: 3166

Re: rules calculate time difference in milliseconds

ok clear. i will change the rules so i do the calculation inside the ESP(on a 1 second base) i can then see if the flow readings are more consistent UPDATE****** flow is more consistent but on a 1 liter resolution of course Also used a second variable to reset the flow after 60 seconds if water usag...