Did you try /dev/ttyUSB0 or /dev/ttyUSB1? What is your setup? HA OS on hardware or in VM?
I see that you specified some settings like ‘DSMRREADER_REMOTE_DATALOGGER_API_HOSTS’ which you don’t need.
As you are using a remote datalogger which sends data over to this addon, please reset the settings of the addon, configure your db settings, set the mode to receiver and open up the port in the network settings of the addon.
In the admin ui, you need to activate the API and get the KEY.
Then in the ‘slimme metergateway’ you configure the correct HA ip + port you opened up (7777?) and the KEY.
I’m on vacation. But emptied the fields, you said. The website is working, but no new meters and same error.
The gateway is working on the 82 up and port 23.
Any other ideas?
Updated Dockers. Rebooted the host and removed USB in dsmrreader and configuration. Then I changed to dsmr 2.x instead of 4/5. Was the key!
Thanks for support, you are great.
Hi, I would like to recalculate the prices but I can’t get it to change.
When I try to do it with ssh I get the following error: django.db.utils.OperationalError: could not translate host name “dsmrdb” to address: Name does not resolve
I use this command: python manage.py dsmr_stats_recalculate_prices
When I do this using portainer I get the same error.
Can someone point me in the right direction.
For me it would be a lot easier to have a button in the webinterface.
The issue persists after updating to the newest OS version. I found out that when I reboot the host (so not just HA), the reader is working again. That is also the reason why I thought that updating the OS solved the issue. But after some time (in this case a few days), the above error appears again and the DSMR reader stops working.
This does not seem to work anymore… Current version: 1.6.0
I see some errors running the . /etc/cont-init.d/01-set-hassio-vars
command (but it runs to quickly and i cannot scroll the log).
When running the python manage.py dsmr_stats_recalculate_prices
after that i get:
Can anyone give instructions how to re-calculate on the latest version?
hi S2nder
I managed to install Dsmr-reader docker on a remote synology , and just install the logger add-on on HA.
tx again, data is coming in !
note that where I am, Tarif 1 is high, and 2 is low… can I change this somewhere? (I found u can create contracts, but not change the daskbpard, daltarief, … ?)
tx !!!
Should be fixed with 1.6.1, see hassio-addons/dsmr_reader at master · sanderdw/hassio-addons · GitHub for updated instuctions (use . /cli-helper.sh
)
Not sure what you need to change but you can merge the high and low tarifs together by setting the option in the admin page (interface configuration).
indeed, wasnt there yet, tx!
Oh thanks so much for that! Working…
Hi!
Today I noticed my electricity returned isn’t visible anymore in home assistant. Did work without any problems till updating to HA 2022.8.0.
Logbook error: Found unexpected state_class None for sensor.dsmr_day_consumption_electricity1_returned
also the same for electricity2.
Anyone who can help me out?
@Davosje I have the same, I logged an issue in HA github https://github.com/home-assistant/core/issues/76347#issuecomment-1207831820
I also logged an issue in the DSMR project, https://github.com/dsmrreader/dsmr-reader/issues/1689
In one of the projects it need some alignments.
@Davosje Correct it’s not fixed yet. You have to follow this issue https://github.com/home-assistant/core/issues/76347#issuecomment-1209145220
Hi guys
I 'm running the dsmr recorder addon since 2 weeks, and twice It stopped, looking at logs
It s only supposed to send the data to the remote Dsmr Docker on synology/
Blockquote
Traceback (most recent call last):
File “//./dsmr_datalogger_api_client.py”, line 193, in
main()
File “//./dsmr_datalogger_api_client.py”, line 165, in main
telegram = next(datasource)
File “//./dsmr_datalogger_api_client.py”, line 53, in read_telegram
incoming_bytes = serial_handle.read(MAX_BYTES_PER_READ)
File “/usr/local/lib/python3.9/site-packages/serial/serialposix.py”, line 595, in read
raise SerialException(
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
[cmd] /run.sh exited 1
[cont-finish.d] executing container finish scripts…
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
Watchdog is on, still it’s not restarting, and I can /have to start it manually…
any ideas?
tx!
“device reports readiness to read but returned no data (device disconnected or multiple access on port?)”
actually the local HA instance is also gathering the data for the energy dashboard… could it be the reason?
what’s the best way? update code or other settings to prevent reading at same time or something?
tx