Open torsti09 opened 1 year ago
ok,
the current config exposes the port 8088 from inside the container on port 20080 on the host. So try to assign port 8088 in your config but than access it via 20080 (you can change the 20080 in the config aof the addon).
Hi, checked, but no httpd connection on host:20080 (http://xxx.xxx.xxx.xxx:20080)
vzlogger.conf
{
"retry": 0,
"verbosity": 1,
"log": "/var/log/vzlogger.log",
"push": [],
"local": {
"enabled": true,
"port": 8088,
"index": true,
"timeout": 0,
"buffer": 0
},
"meters": [
{
"enabled": true,
"allowskip": false,
"interval": -1,
"aggtime": -1,
"aggfixedinterval": false,
"channels": [
{
"api": "null",
"uuid": "26d216c2-ac88-11ed-afa1-0242ac120002",
"identifier": "1-0:1.8.0"
},
{
"api": "null",
"uuid": "26d218e8-ac88-11ed-afa1-0242ac120002",
"identifier": "1-0:2.8.0"
},
{
"api": "null",
"uuid": "26d21b68-ac88-11ed-afa1-0242ac120002",
"identifier": "1-0:16.7.0"
}
],
"protocol": "sml",
"device": "/dev/ttyUSB0",
"pullseq": "",
"baudrate": 9600,
"parity": "8n1",
"use_local_time": true
}
]
}
Log:
-----------------------------------------------------------
Add-on: vzLogger
A tool to read and log measurements of a wide variety of smartmeters and sensors.
-----------------------------------------------------------
Add-on version: 0.0.1
You are running the latest version of this add-on.
System: Home Assistant OS 12.4 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2024.6.4
Home Assistant Supervisor: 2024.06.0
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[10:20:41] INFO: ==============================================================================
/dev/ttyUSB0 - FTDI_USB__-__Serial
[10:20:41] INFO: ==============================================================================
[10:20:41] INFO: {
"retry": 0,
"verbosity": 1,
"log": "/var/log/vzlogger.log",
"push": [],
"local": {
"enabled": true,
"port": 8088,
"index": true,
"timeout": 0,
"buffer": 0
},
"meters": [
{
"enabled": true,
"allowskip": false,
"interval": -1,
"aggtime": -1,
"aggfixedinterval": false,
"channels": [
{
"api": "null",
"uuid": "26d216c2-ac88-11ed-afa1-0242ac120002",
"identifier": "1-0:1.8.0"
},
{
"api": "null",
"uuid": "26d218e8-ac88-11ed-afa1-0242ac120002",
"identifier": "1-0:2.8.0"
},
{
"api": "null",
"uuid": "26d21b68-ac88-11ed-afa1-0242ac120002",
"identifier": "1-0:16.7.0"
}
],
"protocol": "sml",
"device": "/dev/ttyUSB0",
"pullseq": "",
"baudrate": 9600,
"parity": "8n1",
"use_local_time": true
}
]
}
[10:20:41] INFO: ==============================================================================
[10:20:41] INFO: Starting vzlogger
[Jun 22 10:20:41][main] vzlogger v0.8.0 based on heads/master-0-gccb6d8ee49 from Fri, 5 Nov 2021 03:13:34 +0100 started.
[Jun 22 10:20:41][main] log level is 1
What do you mean "config aof"?
Ha 12.4
Thanks.
Aof=of
Hey,
I have installed this add on my Home Assistant and see my data succesfully in the log. Now I want to read the data direclty over the httpd interface without an middleware. I have set the port "8081" an tried to connect over IP of Home Assistant 192.168.XXX.XXX:8081, but i don't get a connection. Is there a way to grab the data or is it just impossible?
Thanks for helping!