Search found 53 matches

by olleman
27 May 2021, 13:47
Forum: ESP Easy: Software
Topic: High amp dc power meter
Replies: 17
Views: 7574

Re: High amp dc power meter

You no longer need the task interval itself as you're calling taskrun yourself. So set it as high as possible. About the variable being cleared when submitting the rules. Can you check to see if the unit may be rebooting? The variables are cleared at boot. If you need to survive a reboot, you shoul...
by olleman
21 May 2021, 14:00
Forum: ESP Easy: Software
Topic: High amp dc power meter
Replies: 17
Views: 7574

Re: High amp dc power meter

hehe this ESP is more or less overloaded allready with 9 real devices. 1 more dummy device might not make that much of a difference :) 1 temp sensor HD1080 1 BME280 2 Ds18b20 1 Flow meter 1 Weight sensor 2 INA219 devices 1 relay Thanks again, I'll evaluate and see how this compares to my old way of ...
by olleman
21 May 2021, 13:42
Forum: ESP Easy: Software
Topic: High amp dc power meter
Replies: 17
Views: 7574

Re: High amp dc power meter

Ok, will look for this. I want to have a couple of hours of meassuring data to domoticz before anymore rebooting.

I think I read somehwere that using the internal variable instead of a dummy was less resource hungry for the ESP. Is this true? Maybee I can learn to live with this if that's the case.
by olleman
21 May 2021, 12:23
Forum: ESP Easy: Software
Topic: High amp dc power meter
Replies: 17
Views: 7574

Re: High amp dc power meter

Thanks for your feedback. One thing I noticed is that every time I hit "submit" on the rules (like now when I added "endif") the variable where the Ah are stored gets reset. Can I do anything aboout this? Even if i'm not editing the rules all the time it would be nice to have it ...
by olleman
21 May 2021, 11:23
Forum: ESP Easy: Software
Topic: High amp dc power meter
Replies: 17
Views: 7574

Re: High amp dc power meter

So I got it nailed down to this now, does this seem better to you? One thing I'm concerned about is the loop timer. I'm now counting samples and relying on the fact that 60 samples = 60 seconds (Since I divide each sample by 3600). If the timer were to drift for whatever reason, the Ah won't be corr...
by olleman
21 May 2021, 09:29
Forum: ESP Easy: Software
Topic: High amp dc power meter
Replies: 17
Views: 7574

Re: High amp dc power meter

If I'm not mistaken, Domoticz also supports energy logging via ever increasing counters. (e.g. a Wh meter) It then takes the previous value and the time passed since to perform some computations to convert the measured values into some Wh unit of measure. This is what I have used before but since d...
by olleman
21 May 2021, 09:10
Forum: ESP Easy: Software
Topic: High amp dc power meter
Replies: 17
Views: 7574

Re: High amp dc power meter

I think you actually did point me in the right direction. Could you please comment on my code below, am I on the right track? On System#Boot do //When the ESP boots, do timerSet,1,1 //Set Timer 1 for the next event in 1 seconds timerSet,2,10 //Set Timer 2 for the next event in 10 seconds endon On R...
by olleman
21 May 2021, 09:02
Forum: ESP Easy: Software
Topic: High amp dc power meter
Replies: 17
Views: 7574

Re: High amp dc power meter

I think you actually did point me in the right direction. Could you please comment on my code below, am I on the right track? On System#Boot do //When the ESP boots, do timerSet,1,1 //Set Timer 1 for the next event in 1 seconds timerSet,2,10 //Set Timer 2 for the next event in 10 seconds endon On Ru...
by olleman
20 May 2021, 22:03
Forum: ESP Easy: Software
Topic: High amp dc power meter
Replies: 17
Views: 7574

Re: High amp dc power meter

What is this 10 sec interval based on? The INA219 can perform multiple measurements per sec. If the limit is determined by the communication to Domoticz, then you could perform multiple measurements via rules and add them to a variable, store it in a dummy variable and then flush that from rules. F...
by olleman
18 May 2021, 21:22
Forum: ESP Easy: Software
Topic: High amp dc power meter
Replies: 17
Views: 7574

High amp dc power meter

Hi! I have an INA219 with 350A shunt to meassure my total Ah consumption on my boat. I send the meassured value to domoticz each 10 seconds which is the minimum duration for sensor values being sent to domoticz. Domoticz then calculates the total Ah consumption from these readings. This works quite ...
by olleman
01 Apr 2021, 10:07
Forum: ESP Easy: Software
Topic: How to include more plugins?
Replies: 2
Views: 3958

Re: How to include more plugins?

Awesome, thank you! :)
by olleman
30 Mar 2021, 21:58
Forum: ESP Easy: Software
Topic: How to include more plugins?
Replies: 2
Views: 3958

How to include more plugins?

Hello! I have recently made som changes to the latest builds INA219 plugin to be able to use an external shunt. I'd also like to include the plugin P67 hx711 Load Cell. However, I'm a bit unsure on how to do this. I have tried uncommenting "#define PLUGIN_BUILD_TESTING" and "#define P...
by olleman
06 Nov 2020, 13:51
Forum: ESP Easy: General Discussion
Topic: How do I use the Blynk controller?
Replies: 3
Views: 6935

Re: How do I use the Blynk controller?

Thanks, I got it working for now with HTTP Advanced controller. I need the HX711 plugin that might be missing from the custom builds. I was at first really impressed by Blynk but when I realized that one needs an account and the app to see the data I was disappointed. Does anyone know if a service s...
by olleman
05 Nov 2020, 16:59
Forum: ESP Easy: General Discussion
Topic: How do I use the Blynk controller?
Replies: 3
Views: 6935

How do I use the Blynk controller?

Hi! I'm looking into trying Blynk for easy access for some sensors. However, I can't find the blynk controller. I just flashed ESP_Easy_mega_20201022_dev_ESP8266_4M1M but it's not there. What am I doing wrong :)? For now, I'd just like to send one sensor value each minute so perhaps I could just do ...
by olleman
16 Aug 2018, 16:20
Forum: ESP Easy: Hardware
Topic: HC-SR501 PIR - stop false positives?
Replies: 47
Views: 100324

Re: HC-SR501 PIR - stop false positives?

I'm having big problems with my PIR sensors as well - to the extent that they aren't really usable. Is there a working solution that actually works? I'd like to continue using ESPEasy so programing the 8266 by myself isn't really a solution for me.
by olleman
11 Aug 2018, 15:46
Forum: ESP Easy: Hardware
Topic: Water flow sensor YF-S201C
Replies: 19
Views: 16642

Re: Water flow sensor YF-S201C

On another note, I'm having problem making a rule that needs to contain a formula within the SendToHTTP command. Is it possible to do this? Look at the last portion of below rule, I need to multiply the value by 6 (to get flow/min) but ESPEasy won't accept this formatting. Do I need to remind everyo...
by olleman
11 Aug 2018, 15:39
Forum: ESP Easy: Hardware
Topic: Water flow sensor YF-S201C
Replies: 19
Views: 16642

Re: Water flow sensor YF-S201C

This one seems interesting, seems to be very similar to the one grovkillen recommended but with threaded connections and supposedly a MAX flow of 10l instead of 6.

https://de.aliexpress.com/item/Hall-Sen ... 78327.html
by olleman
11 Aug 2018, 08:45
Forum: ESP Easy: Hardware
Topic: Water flow sensor YF-S201C
Replies: 19
Views: 16642

Re: Water flow sensor YF-S201C

Thanks! Do you know anything how they perform upwards 10l/min even though they are rated to MAX 6l/min? I will occasionally have MAX flow in the boat which would mean about 10l/min.
by olleman
10 Aug 2018, 19:32
Forum: ESP Easy: Hardware
Topic: Water flow sensor YF-S201C
Replies: 19
Views: 16642

Re: Water flow sensor YF-S201C

So, back to my project. I have tried today with water with different flows and at 5l/min and above it seems to be accurate but tat 1-3 l/min it's highly inaccurate which is a shame since it's rated for 1-30 l/min. Having bad values at this range wont work since this range is quite often used in my b...
by olleman
10 Aug 2018, 12:24
Forum: ESP Easy: Hardware
Topic: Water flow sensor YF-S201C
Replies: 19
Views: 16642

Re: Water flow sensor YF-S201C

Tried bridging with a jumper cable and pull up - same thing! BUT when configures as a switch input it gives med "0" or "1" as expected. I have tried every configuration I can think of in the pulse logic counter. Am I missing something fundamental? Also tried the sensor with ha LE...
by olleman
10 Aug 2018, 08:33
Forum: ESP Easy: Hardware
Topic: Water flow sensor YF-S201C
Replies: 19
Views: 16642

Re: Water flow sensor YF-S201C

Seems like it sends 5V. I distinctly remember that the wemos d1 can handle 5V input, I think that the popular ultrasonic sensors sends 5V and I have used these without any additional resistors in the past. Also tried with a NodeMcu yesterday with the same result. Here's a technical datasheet but I c...
by olleman
09 Aug 2018, 15:38
Forum: ESP Easy: Hardware
Topic: Water flow sensor YF-S201C
Replies: 19
Views: 16642

Re: Water flow sensor YF-S201C

Thanks for all your input. I have actually made a prototype with domotitcz and dZvents script to make something that might just work. The link to the code is here: https://www.domoticz.com/forum/viewtopic.php?f=14&t=23876&p=184370#p184370 last post. In the meantime I finally got my flow sens...
by olleman
27 Jun 2018, 12:04
Forum: ESP Easy: General Discussion
Topic: Arduino IDE compilation errors with all recent nightly versions
Replies: 0
Views: 1905

Arduino IDE compilation errors with all recent nightly versions

Hello! I've tried several times now but I just can't get the latest builds to compile under Arduino IDE. I've used the guide in the wiki and followed every step. I can compile and flash the version from the stable 2.0.0 branch but I need the latest to get the version with the INA219 plugin working w...
by olleman
27 Jun 2018, 07:04
Forum: ESP Easy: Hardware
Topic: INA219 shunt resistor change to 0.01 ohm
Replies: 15
Views: 23595

Re: INA219 shunt resistor change to 0.01 ohm

Thanks Td-er, I really value your input! This thread describes a changed plugin that was made for 30A and 2.5 mohms. So using the same formula: 30*0.0025=0.075. The shunt in the changed plugin is also 75mV. So after some trial and error and input from this page I got this numbers which gave me prett...
by olleman
26 Jun 2018, 23:20
Forum: ESP Easy: Hardware
Topic: INA219 shunt resistor change to 0.01 ohm
Replies: 15
Views: 23595

Re: INA219 shunt resistor change to 0.01 ohm

OK! I'm making some progress. Did manage to flash one of the older builds of ESPEasy MEGA and replaced the INA plugin code with the one in this thread and it's actually working :) Even though, the current reported is off by a factor of 2-ish. So any help I could get in configuring the plugin for my ...
by olleman
26 Jun 2018, 19:20
Forum: ESP Easy: Hardware
Topic: INA219 shunt resistor change to 0.01 ohm
Replies: 15
Views: 23595

Re: INA219 shunt resistor change to 0.01 ohm

Hi! Thankyou for your answer! Present resistor is removed but I'm clearly on deep water here since the only thing I find on page 5 that would be the formula on top of the page. I'm afraid I don't really understand what I need to do to get the right figure. Also I'm really not sure what I need to alt...
by olleman
25 Jun 2018, 19:44
Forum: ESP Easy: Hardware
Topic: INA219 shunt resistor change to 0.01 ohm
Replies: 15
Views: 23595

Re: INA219 shunt resistor change to 0.01 ohm

Hello! I have just receieved a 75mV, 50A external shunt and I'm also using 2 INA219 connected to the same wemos mini d1. Can I use this above code along with the latest beta to get this working? I know that it wasn't long ago that a bug was fixed that lets you use more than one INA219 on the same ES...
by olleman
18 Jun 2018, 08:23
Forum: ESP Easy: Hardware
Topic: Water flow sensor YF-S201C
Replies: 19
Views: 16642

Re: Water flow sensor YF-S201C

Cool , thanks! Does anybody know of a way to measure the volume in a tank, preferably with Domoticz? The ideal case would be to be able to set the tank level to a certain volume eg. 100l and with the flow sensor withdraw volume from it. When I refill the water tank I would also need to "reset&q...
by olleman
17 Jun 2018, 22:46
Forum: ESP Easy: Hardware
Topic: Water flow sensor YF-S201C
Replies: 19
Views: 16642

Re: Water flow sensor YF-S201C

Thanks for your quick reply. The specification says: Flow Pulse: F(Hz)=(5.0*Q)±3% Q=L/Min So, at 6 L/Min 30 pulses each second, right? Does espeasy send each pulse to domoticz or does it buffer it somehow and send it like once every second or whatever? Seems like a lot to send 30 pulses each second ...
by olleman
17 Jun 2018, 17:18
Forum: ESP Easy: Hardware
Topic: Water flow sensor YF-S201C
Replies: 19
Views: 16642

Water flow sensor YF-S201C

Hello! I'm wondering wether this sensor could be used with the pulse logic plugin i n EspEasy? My concern is that it will output roughly 450 pulses/litre of water and I'll have flows of up tp 10 litres/min. Will the hardware be able to coop with all these pulses? https://www.aliexpress.com/item/Free...
by olleman
10 Jun 2018, 22:16
Forum: ESP Easy: Hardware
Topic: Multiple devices I2C bus?
Replies: 18
Views: 15736

Re: Multiple devices I2C bus?

@Olleman: Nope it is not yet possible to do so. I hope to add some support for such a feature. It could even be stored in SPIFF, since adding data is not really a problem, as long as you don't have to erase sectors (or have PUYA chips) It would be a really cool feature! Are you responsible for the ...
by olleman
07 Jun 2018, 21:48
Forum: ESP Easy: Hardware
Topic: Multiple devices I2C bus?
Replies: 18
Views: 15736

Re: Multiple devices I2C bus?

You can do it with rules, see this link: https://www.letscontrolit.com/wiki/index.php/Tutorial_Rules#Custom_reports_to_Domoticz_with_own_IDX Works like a charm, there's always a solution around somewhere but as TD-er mentioned, perhaps ESPEasy should allow 5 digit IDX. I have a lot since I'm pickin...
by olleman
05 Jun 2018, 21:30
Forum: ESP Easy: Hardware
Topic: Multiple devices I2C bus?
Replies: 18
Views: 15736

Re: Multiple devices I2C bus?

hm...how did you get 3 INA devices working? I have dev12 MEGA and I seem to run into the same bug as this thread reports: https://www.letscontrolit.com/forum/viewtopic.php?f=5&t=3479#p18796 The last configured i2c adress is used to both devices. And yes, I have soldered (bridged) A0 to get 0x41 ...
by olleman
20 Feb 2018, 14:50
Forum: ESP Easy: Projects / Applications
Topic: RCWL-0516 Microwave Motion Sensor
Replies: 43
Views: 85028

Re: RCWL-0516 Microwave Motion Sensor

I've connected this sensor directly to my Wemos mini d1 and 5v. My problem is the opposite: Very poor range (like a couple of meters) and no or very little detection through thin walls. Not ONE false detection however :) Did you use the 5V-Pin from the WeMOS? The 5V from USB are somewhat weak, USB ...
by olleman
18 Feb 2018, 11:16
Forum: ESP Easy: Projects / Applications
Topic: RCWL-0516 Microwave Motion Sensor
Replies: 43
Views: 85028

Re: RCWL-0516 Microwave Motion Sensor

I've connected this sensor directly to my Wemos mini d1 and 5v. My problem is the opposite: Very poor range (like a couple of meters) and no or very little detection through thin walls.

Not ONE false detection however :)
by olleman
11 Feb 2018, 13:00
Forum: ESP Easy: Software
Topic: ESP Easy and VPN client?
Replies: 4
Views: 4175

Re: ESP Easy and VPN client?

Thanks, gonna read up in MQTT, not really sure what it is at this point :)
by olleman
11 Feb 2018, 12:59
Forum: ESP Easy: Hardware
Topic: Multiple devices I2C bus?
Replies: 18
Views: 15736

Re: Multiple devices I2C bus?

awesome, thanks!
by olleman
11 Feb 2018, 10:59
Forum: ESP Easy: Hardware
Topic: Multiple devices I2C bus?
Replies: 18
Views: 15736

Multiple devices I2C bus?

As I understand it the I2C bus supports up to 121 devices connected to it. I would need 2 or maybe 3 is this supported by ESP Easy?

I'd like to use one INA219 sensor and BME280 and perhaps something more in the future.

,Olle
by olleman
11 Feb 2018, 10:51
Forum: ESP Easy: Software
Topic: ESP Easy and VPN client?
Replies: 4
Views: 4175

ESP Easy and VPN client?

Hey! After 3 attempts with different INA219 current sensors I finally got one that actually worked (seems quite a bit of the sensors I buy from Ali/eBay arrives faulty...). I'd like to monitor the voltage in my boat with something that draws as little current as possible. I have found a way to root ...
by olleman
14 Dec 2017, 10:29
Forum: ESP Easy: Software
Topic: No WiFi after power outage
Replies: 6
Views: 5002

Re: No WiFi after power outage

Thanks, looking forward to it being implemented.
by olleman
12 Dec 2017, 13:29
Forum: ESP Easy: Software
Topic: No WiFi after power outage
Replies: 6
Views: 5002

Re: No WiFi after power outage

Thought it was just me that couldn't find the right setting but it seems to be a bigger problem than I thought. I hope we can have this sorted eventually. On another note I must say that I'm having so much fun with the 8266 devices along with ESPEasy. Thanks to the easy web interface of ESPEasy and ...
by olleman
12 Dec 2017, 09:58
Forum: ESP Easy: Software
Topic: No WiFi after power outage
Replies: 6
Views: 5002

No WiFi after power outage

Hello, I have several ESPEasy modules in my home and they work great. However I get a problem if we have a power outage. When the power gets back my router and ESPEasy devices start at the same time but the ESPEasy devices are much faster and goes into somekind of timeout. To get them working again ...
by olleman
07 Nov 2017, 19:54
Forum: ESP Easy: Hardware
Topic: TCRT5000 - faulty?
Replies: 12
Views: 10967

Re: TCRT5000 - faulty?

Yes, the power led on the LMA393 is on, although it's green on my version. I'm gonna test 5V power supply when I get the chance and have ordered a new sensor as well. Adjusting the sensor doesn't work but if I adjust it far enough it goes to a state where it's always "on" and the second le...
by olleman
07 Nov 2017, 17:47
Forum: ESP Easy: Hardware
Topic: TCRT5000 - faulty?
Replies: 12
Views: 10967

Re: TCRT5000 - faulty?

Thanks for all replys! I think I might have expressed myself a bit unclear. I have a phototransistor connected to the same Nodemcu board that I connected the LM393 to. The reason for saying this is that I guess that this tells us that there's no problem with my Nodemcu board itself since the electri...
by olleman
07 Nov 2017, 13:22
Forum: ESP Easy: Hardware
Topic: TCRT5000 - faulty?
Replies: 12
Views: 10967

Re: TCRT5000 - faulty?

I'm using the Nodemcu with a photoresistor that sends a swtich command for each IR blink and then sends this data in bursts to domoticz each minute. Just to avoid confusion, this is the device I'm talking about: https://www.aliexpress.com/item/Free-Shipping-10pcs-lot-TCRT5000-Infrared-Reflective-IR-...
by olleman
07 Nov 2017, 08:32
Forum: ESP Easy: Hardware
Topic: TCRT5000 - faulty?
Replies: 12
Views: 10967

Re: TCRT5000 - faulty?

Thanks for your quick replys. I'm a bit confused. According to the wiki it seems that it's more or less plug and play with the TCRT5000. And since it has a control diode that shows if it detects the ir-signal or not I don't even have to connect the GPIO to test the function of the device. Since I us...
by olleman
06 Nov 2017, 20:06
Forum: ESP Easy: Hardware
Topic: TCRT5000 - faulty?
Replies: 12
Views: 10967

TCRT5000 - faulty?

I just got to testing a TCRT5000 I bought a couple of weeks ago but i'm beginning to think that it's faulty... I have connected gnd to gnd, vcc to 3,3v and DO to D7 (GPIO 13) on my Nodemcu V3. No matter what I do I can't get it to change state. I have tested with mirrors just in front of the diodes,...
by olleman
28 Oct 2017, 09:11
Forum: ESP Easy: Software
Topic: Wrong Hz in IRremoteESP8266 - could affect range
Replies: 1
Views: 2181

Wrong Hz in IRremoteESP8266 - could affect range

Hello, I've read several threads about the IR function and even with a transistor in place the range would only be a couple of meters. I had it worse than that and only could get about 50cm. So me and a friend examined the signal with an oscilloscope and saw something quite interesting. The frequenc...
by olleman
04 Oct 2017, 13:57
Forum: ESP Easy: Software
Topic: electric pulse count to domoticz
Replies: 17
Views: 18361

Re: electric pulse count to domoticz

Hello, I have the same question. I use incremental counter in Domoticz and Delta in ESPEasy. Have only ran it a couple of hours but it seems to give me the correct usage for each hour. BUT I too want to have the momentary value as well to be able to see what my house uses in just this instant. I hav...
by olleman
31 Aug 2017, 12:29
Forum: ESP Easy: Hardware
Topic: INA219 shunt resistor change to 0.01 ohm
Replies: 15
Views: 23595

Re: INA219 shunt resistor change to 0.01 ohm

How big external shunts could actually be used? Would it be possible to go to 500A as 12V? This would make it possible to meassure current to all functions on my boat which would be rather cool :)