Can you please post the code, would like to try it.
Jeroen
Search found 27 matches
- Monday 15 July 2024 20:30
- Forum: Suggestions
- Topic: Plugin for NIBE MyUplink ( not NIBE Uplink )
- Replies: 8
- Views: 2600
- Sunday 23 April 2023 14:17
- Forum: Switches and Scenes
- Topic: Show user variable as virtual switch?
- Replies: 1
- Views: 1391
Re: Show user variable as virtual switch?
Should not be that difficult I think:
1. Create a dummy sensor from type Text
2. Write the value of the variable to this sensor at the moment it's changed in your script
3. Add the sensor to your dashboard.
1. Create a dummy sensor from type Text
2. Write the value of the variable to this sensor at the moment it's changed in your script
3. Add the sensor to your dashboard.
- Tuesday 28 February 2023 22:34
- Forum: DIY Hardware and Protocols
- Topic: ESP32 with Tasmota Bluetooth vs Xiaomi BLE Sensors
- Replies: 3
- Views: 4444
Re: ESP32 with Tasmota Bluetooth vs Xiaomi BLE Sensors
I'm using the script from https://github.com/erdose/xiaomi-mi-lywsd03mmc for about 1 year now without problems.
Just using a raspberry zero (or other) to read the data and send it directly to domoticz
Jeroen
Just using a raspberry zero (or other) to read the data and send it directly to domoticz

Jeroen
- Tuesday 24 January 2023 21:51
- Forum: Utility
- Topic: How to get actual usage from P1 device
- Replies: 6
- Views: 1358
Re: How to get actual usage from P1 device
Modified the script from Willem (above) according my needs and combined with my own scripts which collect the electricity prices from enever.nl Advantage is that the flexibility of the hourly prices is visible in Domoticz (and pushed to Influx/Grafana to give more insight over longer period). For ...
- Monday 16 January 2023 10:25
- Forum: Utility
- Topic: How to get actual usage from P1 device
- Replies: 6
- Views: 1358
Re: How to get actual usage from P1 device
Thanks Willem,
this looks like what I'm trying to achive myself
. I will have a closer look this evening.
this looks like what I'm trying to achive myself

- Sunday 15 January 2023 23:06
- Forum: Utility
- Topic: How to get actual usage from P1 device
- Replies: 6
- Views: 1358
How to get actual usage from P1 device
I'm working on script to work with cariabel eletriciy prices (these change per hour). Getting the prices and putting them in DOmoticz is already working, but now facing the issue to calculate the correct costs of the previous hour. How can I retreive the actual usage from the "Power" device I have ...
- Sunday 08 January 2023 16:24
- Forum: dzVents
- Topic: Let script pause for few minutes
- Replies: 3
- Views: 348
- Sunday 08 January 2023 16:01
- Forum: dzVents
- Topic: Let script pause for few minutes
- Replies: 3
- Views: 348
Let script pause for few minutes
Trying to build a script which calculates electricity costs based on variable pricing (per hour). I have a script running which updates a domoticz device with the current price (updates every first minute of the hour). Because the price is updated at minute 0 of the hour, and the electricity usage ...
- Wednesday 13 July 2022 23:07
- Forum: Utility
- Topic: Huawei SUN2000 Inverters
- Replies: 22
- Views: 8945
Re: Huawei SUN2000 Inverters
Hi,
Just uploaded a more detail readme and added some more info in the .env file.
More improvements to come
Just uploaded a more detail readme and added some more info in the .env file.
More improvements to come

- Sunday 10 July 2022 15:45
- Forum: Utility
- Topic: Huawei SUN2000 Inverters
- Replies: 22
- Views: 8945
Re: Huawei SUN2000 Inverters
I just released my first version of the script to read the production details from the huawei website. It is required to have your inverter communication with Huawei of course 
https://github.com/GoumJer/Huawei_Sun2000

https://github.com/GoumJer/Huawei_Sun2000
- Saturday 02 July 2022 17:13
- Forum: Utility
- Topic: Huawei SUN2000 Inverters
- Replies: 22
- Views: 8945
- Saturday 02 July 2022 17:09
- Forum: Utility
- Topic: Huawei SUN2000 Inverters
- Replies: 22
- Views: 8945
Re: Huawei SUN2000 Inverters
Tnx Jeroen! I've started running HASS (Home Assistant) next to Domoticz because they have a custom integration for these inverters. It reports almost everything available. It gets its data live from the inverter itself (by connecting to the inverters AP) and it's working perfectly fine over here. I ...
- Wednesday 25 May 2022 12:50
- Forum: Utility
- Topic: Huawei SUN2000 Inverters
- Replies: 22
- Views: 8945
Re: Huawei SUN2000 Inverters
Hi Sammy, this _can_ be done, but requires some work: 1. Try to get yourself a developers account for the data which is collecting. This request MUST be submitted by the company who installed your converter. Send an email to "eu_inverter_support<at>huawei.com" with the following: I hereby request an ...
- Monday 04 April 2022 19:39
- Forum: Bash / PowerShell / Batch etc.
- Topic: Saving token to Domoticz variable in bash
- Replies: 3
- Views: 1725
Re: Saving token to Domoticz variable in bash
Hi Walter,
yes tried with and withou single and double quotes, no luck so far.
Meanwhile re-thinking my design. Maybe will put the token and timestamp not in Domotic variables, but store them in a small file. Not as nice as it could be, but should be working also.
Jeroen
yes tried with and withou single and double quotes, no luck so far.
Meanwhile re-thinking my design. Maybe will put the token and timestamp not in Domotic variables, but store them in a small file. Not as nice as it could be, but should be working also.
Jeroen
- Sunday 03 April 2022 23:31
- Forum: Bash / PowerShell / Batch etc.
- Topic: Saving token to Domoticz variable in bash
- Replies: 3
- Views: 1725
Saving token to Domoticz variable in bash
Hi, to retreive to information about my solar-panales I need to use a token which is 30 minutes valid. Retreiving this works fine. I con not retreive a token evry few minutes, otherwise I run into an error (to many request or so). My proposed solution: Create 2 Domoticx variables: 1 holding the last ...
- Friday 04 February 2022 19:49
- Forum: dzVents
- Topic: Check last update on device
- Replies: 2
- Views: 1046
Re: Check last update on device
Thanks Walter,
notification on last update will probably be good enough. Never realised that it was a dropdown
notification on last update will probably be good enough. Never realised that it was a dropdown

- Thursday 03 February 2022 21:07
- Forum: dzVents
- Topic: Check last update on device
- Replies: 2
- Views: 1046
Check last update on device
Hi, every few (something between 3 and 14) domoticz stops getting information from my Nibe Uplink connection. Solution is to disable and enable the device in the hardware section. What is an easy way to detect if the last update of a specific device is more then x minutes ago? If this is the case ...
- Saturday 22 January 2022 17:44
- Forum: Dashticz
- Topic: Change icon coulour and text based on value
- Replies: 1
- Views: 711
Change icon coulour and text based on value
Hi, I created adevice which shows we the air quality index (LKI), which varies from 1 to 11. Depending on the value I want the icon and text to change colour. I added the following in custom.js: function getStatus_Luchtkwaliteit(block) { var device=block.device; if(device['Data']<4) { block.addClass ...
- Thursday 06 January 2022 20:27
- Forum: Dashticz
- Topic: Dashticz - Module - Public Transport
- Replies: 86
- Views: 26833
Re: Dashticz - Module - Public Transport
Hansie,
same here for bus and train since few days.
same here for bus and train since few days.
- Saturday 01 January 2022 18:06
- Forum: 433 & 868 transceiver
- Topic: Use garage door opener to set switch?
- Replies: 4
- Views: 2414
Re: Use garage door opener to set switch?
Probably will look into the solutions EddyG mentionend.
@rgroothuis, my requirement is just the other way around, I want to use the garage opener to activate a switch in Domoticz, not control the garage from Domoticz.
Happy new year,
Jeroen
@rgroothuis, my requirement is just the other way around, I want to use the garage opener to activate a switch in Domoticz, not control the garage from Domoticz.
Happy new year,
Jeroen