fritzinfluxdb: Unable to convert FritzBox Lua value

installed on proxmox LXC Container and on Synology Docker. allways the same error. Where is my problem?

Here my Log.

date | stream | content
ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write: field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=1
2023/10/30 19:33:18 | stdout | ERROR: Unable to convert FritzBox Lua value '0-1800863744' for 'ha_alert' to '<class 'int'>': invalid literal for int() with base 10: '0-1800863744'
2023/10/30 19:33:16 | stdout | INFO: Service 'Cable Info (Fritz!OS 7.29 - latest)' not applicable for this FritzBox Model Link type 'DSL'
2023/10/30 19:33:02 | stdout | INFO: Starting main loop
2023/10/30 19:33:02 | stdout | INFO: Successfully connected to FritzBox '192.168.178.1' (fritz.box) Model: FRITZ!Box 7590 AX (DSL) - FW: 7.57
2023/10/30 19:33:02 | stdout | INFO: Successfully established FritzBox Lua session
2023/10/30 19:33:00 | stdout | INFO: Successfully established FritzBox TR-069 session
2023/10/30 19:32:54 | stdout | INFO: Connection to InfluxDB v2.7.1 established and bucket is present
2023/10/30 19:32:54 | stdout | INFO: Successfully parsed config
2023/10/30 19:32:54 | stdout | INFO: Starting fritzinfluxdb v1.2.1 (2023-01-26)

at the file “model.py” there is no “FritzBox 7590 AX DSL” listed.

In the SmartHome section, i have 3 Shutter called “BoxCTRL D01” with hun_fun and the same protocol as my FRITZ!DECT 200.

Nov 02 08:47:22 pi-hole fritzinfluxdb[5472]: INFO: Successfully create InfluxDB database mapping 'fritzbox'
Nov 02 08:47:22 pi-hole fritzinfluxdb[5472]: INFO: Connection to InfluxDB v2.7.1 established and bucket is present
Nov 02 08:47:27 pi-hole fritzinfluxdb[5472]: INFO: Successfully established FritzBox TR-069 session
Nov 02 08:47:28 pi-hole fritzinfluxdb[5472]: INFO: Successfully established FritzBox Lua session
Nov 02 08:47:28 pi-hole fritzinfluxdb[5472]: INFO: Successfully connected to FritzBox '192.168.178.1' (fritz.box) Model: FRITZ!Box 7590 AX (DSL) - FW: 7.57
Nov 02 08:47:28 pi-hole fritzinfluxdb[5472]: INFO: Starting main loop
Nov 02 08:47:39 pi-hole fritzinfluxdb[5472]: INFO: Service 'Cable Info (Fritz!OS 7.29 - latest)' not applicable for this FritzBox Model Link type 'DSL'
Nov 02 08:47:41 pi-hole fritzinfluxdb[5472]: ERROR: Unable to convert FritzBox Lua value '0-1545273344' for 'ha_alert' to '<class 'int'>': invalid literal for int() with base 10: '0-1545273344'
Nov 02 08:48:07 pi-hole fritzinfluxdb[5472]: ERROR: Failed to write to InfluxDB '192.168.178.139': 500: unexpected error writing points to database: field type conflict
Nov 02 08:48:10 pi-hole fritzinfluxdb[5472]: ERROR: Unable to convert FritzBox Lua value '0-1545273344' for 'ha_alert' to '<class 'int'>': invalid literal for int() with base 10: '0-1545273344'

Is it possible to define an exception in fritzinfluxdb.ini

This is the Log after few ninutes.

Nov 02 09:57:56 pi-hole fritzinfluxdb[5472]: ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write: field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=1
Nov 02 09:58:02 pi-hole fritzinfluxdb[5472]: ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write: field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=1
Nov 02 09:58:08 pi-hole fritzinfluxdb[5472]: ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write: field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=1
Nov 02 09:58:13 pi-hole fritzinfluxdb[5472]: ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write: field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=1
Nov 02 09:58:20 pi-hole fritzinfluxdb[5472]: ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write: field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=1
Nov 02 09:58:25 pi-hole fritzinfluxdb[5472]: ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write: field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=1
Nov 02 09:58:31 pi-hole fritzinfluxdb[5472]: ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write: field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=1
Nov 02 09:58:38 pi-hole fritzinfluxdb[5472]: ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write: field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=1
Nov 02 09:58:43 pi-hole fritzinfluxdb[5472]: ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write: field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=1

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 21 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Hi, Day four - seems to be working fine.

Regards