Search found 85 matches

by aleph0
Sunday 03 March 2024 14:37
Forum: Suggestions
Topic: Improving the thermostat setpoint to get a general setpoint (for temperature, humidity, length, watt, volt, ...)
Replies: 14
Views: 6972

Re: Improving the thermostat setpoint to get a general setpoint (for temperature, humidity, length, watt, volt, ...)

Implemented in Latest beta 2023.2 dd18/9/2023 thanks to @gizmocuz.
Thanks @gizmocuz for having implemented that :-)
by aleph0
Saturday 17 September 2022 8:03
Forum: Temperature and Weather
Topic: different ways to determine average temperature ?
Replies: 6
Views: 1435

Re: different ways to determine average temperature ?

A simpler method is to use a low pass filter. After a while it becomes equivalent to the average value.

Eg, to get the average over 60 values, loop on this formula each time you get a new value :
Tavg=(59*Tavg+T)/60

Envoyé de mon moto g(6) en utilisant Tapatalk

by aleph0
Tuesday 04 May 2021 13:00
Forum: Suggestions
Topic: Improving the thermostat setpoint to get a general setpoint (for temperature, humidity, length, watt, volt, ...)
Replies: 14
Views: 6972

Re: Improving the thermostat setpoint to get a general setpoint (for temperature, humidity, length, watt, volt, ...)

I back up this request. It would be very nice to extend the thermostat widget into a custom setpoint widget :-)

Envoyé de mon moto g(6) en utilisant Tapatalk

by aleph0
Monday 18 January 2021 21:19
Forum: Other questions and discussions
Topic: How to update a variable via json on a remote domoticz
Replies: 5
Views: 965

Re: How to update a variable via json on a remote domoticz

waaren wrote: Sunday 17 January 2021 0:35 You need admin rights to update a uservariable
It works :-) Thanks for pointing this out :-)
by aleph0
Saturday 16 January 2021 21:52
Forum: Other questions and discussions
Topic: How to update a variable via json on a remote domoticz
Replies: 5
Views: 965

Re: How to update a variable via json on a remote domoticz

Nobody ?

Envoyé de mon moto g(6) en utilisant Tapatalk

by aleph0
Thursday 14 January 2021 13:46
Forum: Other questions and discussions
Topic: How to update a variable via json on a remote domoticz
Replies: 5
Views: 965

How to update a variable via json on a remote domoticz

Hi All ! I'm in need to update a variable on a remote domoticz via json & curl : - remote domoticz is IP accessible on port 8080 - a dedicated user exists, with "user" rights on a remote domoticz and a few devices authorised - this user can be successfuly used to update remotely that devices via ...
by aleph0
Wednesday 09 December 2020 20:41
Forum: Examples & Solutions
Topic: Mimic the sun indoors with RGBW(W) lights
Replies: 4
Views: 2703

Re: Mimic the sun indoors with RGBW(W) lights

Very interesting project ! Thanks for sharing [emoji846]

Envoyé de mon moto g(6) en utilisant Tapatalk

by aleph0
Tuesday 29 September 2020 13:27
Forum: Other questions and discussions
Topic: Water flow control project
Replies: 8
Views: 1076

Re: Water flow control project

I need to rise a warning in using that kind of flow sensors on a swimming pool filtration circuit. I never managed to keep one of them operating more than a few months. And the breakdowns come after +/- the same amount of M3 pumped through them. I guess they are just not designed to count such a ...
by aleph0
Tuesday 23 June 2020 22:08
Forum: Other questions and discussions
Topic: Reference to energy costs in Domoticz config
Replies: 8
Views: 1013

Re: Reference to energy costs in Domoticz config

You're right !! Here is the full code : function os.capture(cmd, raw) local f = assert(io.popen(cmd, 'r')) local s = assert(f:read('*a')) f:close() if raw then return s end s = string.gsub(s, '^%s+', '') s = string.gsub(s, '%s+$', '') s = string.gsub(s, '[\n\r]+', ' ') return s end function getPref ...
by aleph0
Tuesday 23 June 2020 21:57
Forum: Other questions and discussions
Topic: Reference to energy costs in Domoticz config
Replies: 8
Views: 1013

Re: Reference to energy costs in Domoticz config

I've had the same need in lua, so I wrote the following function : function getPref(dbName,key) -- Retourne une valeur depuis les préférences de domoticz -- Key doit correspondre à l'une des lignes de la table preference sql='sqlite3 '..dbName..' "select nValue,sValue from Preferences where Key=\' ...
by aleph0
Sunday 07 June 2020 12:33
Forum: Suggestions
Topic: Evapotranspiration widget
Replies: 20
Views: 3788

Re: Evapotranspiration widget

I back up the point for the icon, it would be nice :-)

Regarding export of data, I had this need for electricity, and choose to export to a MySQL dB. Simply by running an SQL query via an os.execute in a lua script. I think we could do the same here

Envoyé de mon moto g(6) en utilisant Tapatalk

by aleph0
Tuesday 02 June 2020 9:49
Forum: Suggestions
Topic: Evapotranspiration widget
Replies: 20
Views: 3788

Re: Evapotranspiration widget

Suggestion: The script results in display at the widget with many digitis which are not effective. Inserting a 'round'-function you can limit to a more meaningful display. You're right about displaying not meaningful digits. The problem is calculating ET every minutes, or even hours, gives very ...
by aleph0
Monday 01 June 2020 18:35
Forum: Suggestions
Topic: Evapotranspiration widget
Replies: 20
Views: 3788

Re: Evapotranspiration widget

Wow ! That's a big mast :o
by aleph0
Monday 01 June 2020 9:21
Forum: Suggestions
Topic: Evapotranspiration widget
Replies: 20
Views: 3788

Re: Evapotranspiration widget

Here is my script to calculate EVP based on weather sensors. Calculations are from Penman Monteith formula and FAO-56 method ( http://edis.ifas.ufl.edu/pdffiles/ae/ae45900.pdf ). The code below is an extraction from my global watering script, so maybe I introduced some syntax bug on the process. If ...
by aleph0
Sunday 31 May 2020 21:08
Forum: Suggestions
Topic: Evapotranspiration widget
Replies: 20
Views: 3788

Re: Evapotranspiration widget

I'm calculating ET from meteo values for watering my garden. I successful store the result in a dummy rain sensor, it does the job quite well :-)

Image

Envoyé de mon moto g(6) en utilisant Tapatalk
by aleph0
Saturday 16 May 2020 19:35
Forum: Other questions and discussions
Topic: Water (Pool) Temperature Sensor
Replies: 62
Views: 25178

Re: Water (Pool) Temperature Sensor

Did you also put an automatic chlorine regulator? Yes ; I have a full setup filtration+pH+chlorine Same as for the ph but with another probe? Yes, an ORP probe connected to a dedicated phidget 1130 card Same as for the ph but with another probe? You can have a look at this topic in the french ...
by aleph0
Saturday 02 May 2020 15:20
Forum: Other questions and discussions
Topic: Water (Pool) Temperature Sensor
Replies: 62
Views: 25178

Re: Water (Pool) Temperature Sensor

I would be curious too about other's experience. Here it's still operating. After having selected the right material for acid piping, it's been rock solid. If I would make a v2, here are the things I'd change : - Include water temperature measurement with 18ds20 - Include weighting of chlorine and ...
by aleph0
Monday 10 February 2020 16:32
Forum: Utility
Topic: Energy measurement with espeasy and pzem-004t
Replies: 65
Views: 76171

Re: Energy measurement with espeasy and pzem-004t

Hi ! This is the function I use for this usage function pzem_read(pzem,HC,dev_V,dev_A,dev_W,dev_CP) --[[Read measures from a pzem in a 3Amps device and dispatch measures for voltage, current and power in corresponding devices Input : pzem : type 3phase current HC : switch "On"=night time Output ...
by aleph0
Thursday 30 January 2020 17:28
Forum: Heating/cooling
Topic: Current sensor - to detect 240VAC pump on
Replies: 2
Views: 488

Re: Current sensor - to detect 240VAC pump on

I know you excluded it explicitly, but just in case... I'm using that stuff https://www.aliexpress.com/item/3280974 ... 2e0eVhVncD for the same purpose (detecting the run of a pump), it's been working fine for years now.
by aleph0
Monday 27 January 2020 18:26
Forum: Utility
Topic: Energy measurement with espeasy and pzem-004t
Replies: 65
Views: 76171

Re: Energy measurement with espeasy and pzem-004t

Did you put 220v on the pzem while trying ? Mine does not respond without 220v :-(

Edit : I just read again the thread on let's control it and they say the protocol have changed for pzem v3 ; my precompiled firmware won't work with those ones, sorry :-(