Nordpool electricity prices plugin
Moderators: leecollings, remb0
-
- Posts: 564
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Nordpool electricity prices plugin
So I have been using a nordpool plugin which I found here, it has been working great but now when I have upgraded to bullseye then it doesn't work anymore, is there any other plugin I can use to get the electricity tariffs into domoticz?
I'm from Sweden.
Thanks
I'm from Sweden.
Thanks
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Nordpool electricity prices plugin
Did you notify the plugin ownrf ur issue?
Did you also upgrade th python modules the plugin perhaps needed?
Do you have a link to. GitHub repository?
Did you also upgrade th python modules the plugin perhaps needed?
Do you have a link to. GitHub repository?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 564
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nordpool electricity prices plugin
Yes I have talked to the writer of the plugin and he didn't have any plans of fixing this issue, the issue it that the plugin doesn't work with the upgraded phyton, I will look for a link to github.
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Nordpool electricity prices plugin
I suppose the modules install goes wrong? This is because of the new python virtual environments in Bookworm.
Did you try adding
to the install command?
So use
Edit. You upgraded to Bullseye. Did you reinstall the plugin requirements? As they could be changed due to the upgrade of your OS.
Did you try adding
Code: Select all
--break-system-packages
to the install command?
So use
Code: Select all
sudo pip install -r requirements.txt --break-system-packages
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 4
- Joined: Wednesday 31 January 2024 12:16
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Nordpool electricity prices plugin
Certainly! It seems like the Nordpool plugin might not be compatible with the Bullseye upgrade. You can try using the "domoticz-emoncms-plugin" for fetching electricity tariffs in Sweden. Make sure to update your plugin list and configuration settings accordingly.tjabas wrote: ↑Monday 29 January 2024 18:41 So I have been using a nordpool plugin which I found here, it has been working great but now when I have upgraded to bullseye then it doesn't work anymore, is there any other plugin I can use to get the electricity tariffs into domoticz?
I'm from Sweden.
Thanks
-
- Posts: 564
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nordpool electricity prices plugin
i have encountered a problem a couple of days ago with this plugin , it doesnt update anymore, any idea? :
2024-10-16 23:43:54.067 Error: NordPool: return complexjson.loads(self.text, **kwargs)
2024-10-16 23:43:54.068 Error: NordPool: File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 518, in loads
2024-10-16 23:43:54.068 Error: NordPool: return _default_decoder.decode(s)
2024-10-16 23:43:54.068 Error: NordPool: File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
2024-10-16 23:43:54.068 Error: NordPool: obj, end = self.raw_decode(s)
2024-10-16 23:43:54.068 Error: NordPool: File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
2024-10-16 23:43:54.068 Error: NordPool: return self.scan_once(s, idx=_w(s, idx).end())
2024-10-16 23:43:54.068 Error: NordPool: simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2024-10-16 23:44:04.158 Error: NordPool: Call to function 'onHeartbeat' failed, exception details:
2024-10-16 23:44:04.160 Error: NordPool: Traceback (most recent call last):
2024-10-16 23:44:04.160 Error: NordPool: File "/home/pi/domoticz/plugins/NordPoolSpotPrice-Domoticz/plugin.py", line 287, in onHeartbeat
2024-10-16 23:44:04.160 Error: NordPool: _plugin.onHeartbeat()
2024-10-16 23:44:04.160 Error: NordPool: File "/home/pi/domoticz/plugins/NordPoolSpotPrice-Domoticz/plugin.py", line 142, in onHeartbeat
2024-10-16 23:44:04.160 Error: NordPool: CurrentPrice(HourNow)
2024-10-16 23:44:04.160 Error: NordPool: File "/home/pi/domoticz/plugins/NordPoolSpotPrice-Domoticz/plugin.py", line 185, in CurrentPrice
2024-10-16 23:44:04.160 Error: NordPool: price=prices_spot.hourly(end_date=datetime.now().date(),areas=[_plugin.Area])
2024-10-16 23:44:04.160 Error: NordPool: File "/usr/local/lib/python3.7/dist-packages/nordpool/elspot.py", line 132, in hourly
2024-10-16 23:44:04.160 Error: NordPool: return self.fetch(self.HOURLY, end_date, areas)
2024-10-16 23:44:04.160 Error: NordPool: File "/usr/local/lib/python3.7/dist-packages/nordpool/elspot.py", line 128, in fetch
2024-10-16 23:44:04.160 Error: NordPool: return self._parse_json(self._fetch_json(data_type, end_date), areas)
2024-10-16 23:44:04.160 Error: NordPool: File "/usr/local/lib/python3.7/dist-packages/nordpool/elspot.py", line 104, in _fetch_json
2024-10-16 23:44:04.160 Error: NordPool: return r.json()
2024-10-16 23:44:04.160 Error: NordPool: File "/usr/lib/python3/dist-packages/requests/models.py", line 897, in json
2024-10-16 23:44:04.160 Error: NordPool: return complexjson.loads(self.text, **kwargs)
2024-10-16 23:44:04.160 Error: NordPool: File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 518, in loads
2024-10-16 23:44:04.160 Error: NordPool: return _default_decoder.decode(s)
2024-10-16 23:44:04.160 Error: NordPool: File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
2024-10-16 23:44:04.160 Error: NordPool: obj, end = self.raw_decode(s)
2024-10-16 23:44:04.160 Error: NordPool: File "/usr/
2024-10-16 23:43:54.067 Error: NordPool: return complexjson.loads(self.text, **kwargs)
2024-10-16 23:43:54.068 Error: NordPool: File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 518, in loads
2024-10-16 23:43:54.068 Error: NordPool: return _default_decoder.decode(s)
2024-10-16 23:43:54.068 Error: NordPool: File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
2024-10-16 23:43:54.068 Error: NordPool: obj, end = self.raw_decode(s)
2024-10-16 23:43:54.068 Error: NordPool: File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
2024-10-16 23:43:54.068 Error: NordPool: return self.scan_once(s, idx=_w(s, idx).end())
2024-10-16 23:43:54.068 Error: NordPool: simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2024-10-16 23:44:04.158 Error: NordPool: Call to function 'onHeartbeat' failed, exception details:
2024-10-16 23:44:04.160 Error: NordPool: Traceback (most recent call last):
2024-10-16 23:44:04.160 Error: NordPool: File "/home/pi/domoticz/plugins/NordPoolSpotPrice-Domoticz/plugin.py", line 287, in onHeartbeat
2024-10-16 23:44:04.160 Error: NordPool: _plugin.onHeartbeat()
2024-10-16 23:44:04.160 Error: NordPool: File "/home/pi/domoticz/plugins/NordPoolSpotPrice-Domoticz/plugin.py", line 142, in onHeartbeat
2024-10-16 23:44:04.160 Error: NordPool: CurrentPrice(HourNow)
2024-10-16 23:44:04.160 Error: NordPool: File "/home/pi/domoticz/plugins/NordPoolSpotPrice-Domoticz/plugin.py", line 185, in CurrentPrice
2024-10-16 23:44:04.160 Error: NordPool: price=prices_spot.hourly(end_date=datetime.now().date(),areas=[_plugin.Area])
2024-10-16 23:44:04.160 Error: NordPool: File "/usr/local/lib/python3.7/dist-packages/nordpool/elspot.py", line 132, in hourly
2024-10-16 23:44:04.160 Error: NordPool: return self.fetch(self.HOURLY, end_date, areas)
2024-10-16 23:44:04.160 Error: NordPool: File "/usr/local/lib/python3.7/dist-packages/nordpool/elspot.py", line 128, in fetch
2024-10-16 23:44:04.160 Error: NordPool: return self._parse_json(self._fetch_json(data_type, end_date), areas)
2024-10-16 23:44:04.160 Error: NordPool: File "/usr/local/lib/python3.7/dist-packages/nordpool/elspot.py", line 104, in _fetch_json
2024-10-16 23:44:04.160 Error: NordPool: return r.json()
2024-10-16 23:44:04.160 Error: NordPool: File "/usr/lib/python3/dist-packages/requests/models.py", line 897, in json
2024-10-16 23:44:04.160 Error: NordPool: return complexjson.loads(self.text, **kwargs)
2024-10-16 23:44:04.160 Error: NordPool: File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 518, in loads
2024-10-16 23:44:04.160 Error: NordPool: return _default_decoder.decode(s)
2024-10-16 23:44:04.160 Error: NordPool: File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
2024-10-16 23:44:04.160 Error: NordPool: obj, end = self.raw_decode(s)
2024-10-16 23:44:04.160 Error: NordPool: File "/usr/
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Nordpool electricity prices plugin
If you are Dutch you also could switch to the Enever hardware gateway, https://www.domoticz.com/wiki/Enever
Else you have to find the issue. It could be anything from noordpool stopping or switch API or python update issue etc
Else you have to find the issue. It could be anything from noordpool stopping or switch API or python update issue etc
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 564
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nordpool electricity prices plugin
i also tried with an older backup version of domoticz but the problem where there to, so i guess that there has been a change at nordpool, is there any other plugin that works with nordpool?
i live in sweden.
i live in sweden.
-
- Posts: 33
- Joined: Saturday 13 July 2013 8:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sweden
- Contact:
Re: Nordpool electricity prices plugin
@tjabas, I am curious. What are you using the plugin for? And do you use all the counters it creates?
I was playing around with https://www.elprisetjustnu.se/ yesterday since they have the data available online too.
I was playing around with https://www.elprisetjustnu.se/ yesterday since they have the data available online too.
-
- Posts: 564
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nordpool electricity prices plugin
Im using it to turn on and off some Electrical components when the price is low, the water heater, charging my car, turn on and off heatpumps.
So its kind of hard that the plugin doesnt work.
So its kind of hard that the plugin doesnt work.
-
- Posts: 564
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nordpool electricity prices plugin
Is it possible to get the plugin the fetch the prices from. The link you provided?
-
- Posts: 33
- Joined: Saturday 13 July 2013 8:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sweden
- Contact:
Re: Nordpool electricity prices plugin
I have not tested this thoroughly but if you want you can try: https://github.com/j-b-n/sweden_energyprice
-
- Posts: 564
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nordpool electricity prices plugin
wow thanks alot, i have installed it but i dont get any prices in the switches that the plugin has made, i get these errors:JBN wrote: ↑Sunday 20 October 2024 17:43 I have not tested this thoroughly but if you want you can try: https://github.com/j-b-n/sweden_energyprice
2024-10-20 19:34:11.437 Error: Elpriser: Call to function 'onStart' failed, exception details:
2024-10-20 19:34:11.439 Error: Elpriser: Traceback (most recent call last):
2024-10-20 19:34:11.439 Error: Elpriser: File "/home/pi/domoticz/plugins/sweden_energyprice/plugin.py", line 176, in onStart
2024-10-20 19:34:11.439 Error: Elpriser: _plugin.onStart()
2024-10-20 19:34:11.439 Error: Elpriser: File "/home/pi/domoticz/plugins/sweden_energyprice/plugin.py", line 115, in onStart
2024-10-20 19:34:11.439 Error: Elpriser: min_price = elprisetjustnu.get_min_energy_price(self.folder, self.price_zone)
2024-10-20 19:34:11.439 Error: Elpriser: File "/home/pi/domoticz/plugins/sweden_energyprice/elprisetjustnu.py", line 62, in get_min_energy_price
2024-10-20 19:34:11.439 Error: Elpriser: prices = update_energy_price(folder, price_zone)
2024-10-20 19:34:11.439 Error: Elpriser: File "/home/pi/domoticz/plugins/sweden_energyprice/elprisetjustnu.py", line 49, in update_energy_price
2024-10-20 19:34:11.439 Error: Elpriser: clean_folder(folder, price_zone)
2024-10-20 19:34:11.439 Error: Elpriser: File "/home/pi/domoticz/plugins/sweden_energyprice/elprisetjustnu.py", line 34, in clean_folder
2024-10-20 19:34:11.439 Error: Elpriser: for f in os.listdir(foldername):
2024-10-20 19:34:11.439 Error: Elpriser: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/domoticz/plugins/sweden_energyprice/json/'
-
- Posts: 564
- Joined: Sunday 11 December 2016 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nordpool electricity prices plugin
when i try to install: sudo python3 -m pip install -r requirements.txt --upgrade
i get error message:
Could not open requirements file: [Errno 2] Filen eller katalogen finns inte: 'requirements.txt'
i get error message:
Could not open requirements file: [Errno 2] Filen eller katalogen finns inte: 'requirements.txt'
-
- Posts: 33
- Joined: Saturday 13 July 2013 8:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sweden
- Contact:
Re: Nordpool electricity prices plugin
Let's debug together, I have sent you a PM.
-
- Posts: 7
- Joined: Tuesday 26 November 2024 11:07
- Target OS: Windows
- Domoticz version:
- Location: India
- Contact:
Re: Nordpool electricity prices plugin
It looks like NordPool changed its API. You can try using the 'domoticz-emoncms-plugin' or find another plugin that works with the new data.
-
- Posts: 7
- Joined: Tuesday 26 November 2024 11:07
- Target OS: Windows
- Domoticz version:
- Location: India
- Contact:
Re: Nordpool electricity prices plugin
Hello everyone,
Has anyone found a reliable plugin or method to integrate with the new NordPool API? I’m specifically looking for something that can work seamlessly with Domoticz or a similar home automation platform.
Regards,
Sumit.
Has anyone found a reliable plugin or method to integrate with the new NordPool API? I’m specifically looking for something that can work seamlessly with Domoticz or a similar home automation platform.
Regards,
Sumit.
Who is online
Users browsing this forum: No registered users and 0 guests