Description of problem:
Exporting hass db to influx results in a parsing error as follows:
hass --script influxdb_import -d home_assistant
Traceback (most recent call last):----------------------------------------------] 0.0%
File "/usr/local/bin/hass", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/homeassistant/main.py", line 375, in main
return scripts.run(args.script)
File "/usr/local/lib/python3.6/dist-packages/homeassistant/scripts/init.py", line 57, in run
return script.run(args[1:]) # type: ignore
File "/usr/local/lib/python3.6/dist-packages/homeassistant/scripts/influxdb_import.py", line 235, in run
client.write_points(points)
File "/home/homeassistant/.homeassistant/deps/lib/python3.6/site-packages/influxdb/client.py", line 468, in write_points
tags=tags, protocol=protocol)
File "/home/homeassistant/.homeassistant/deps/lib/python3.6/site-packages/influxdb/client.py", line 532, in _write_points
protocol=protocol
File "/home/homeassistant/.homeassistant/deps/lib/python3.6/site-packages/influxdb/client.py", line 312, in write
headers=headers
File "/home/homeassistant/.homeassistant/deps/lib/python3.6/site-packages/influxdb/client.py", line 271, in request
raise InfluxDBClientError(response.content, response.status_code)
influxdb.exceptions.InfluxDBClientError: 400: {"error":"partial write: unable to parse 'µg/m³,domain=sensor,entity_id=uremotesds_pm25_normalized friendly_name_str=\"PM25 Loggia (Normalized)\",value=nan 1541167603789112064': invalid number\nunable to parse 'µg/m³,domain=sensor,entity_id=uremotesds_pm10_normalized friendly_name_str=\"PM10 Loggia (Normalized)\",value=nan 1541167603792776960': invalid number dropped=0"}
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
not relevant
Additional information:
No problems with data directly sent to influxdb with influxdb component.
Home Assistant release with the issue: hass --version 0.82.0
Last working Home Assistant release (if known): unknown
Operating environment (Hass.io/Docker/Windows/etc.): Linux homeautomation 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Distributor ID: Ubuntu Description: Ubuntu 18.04.1 LTS Release: 18.04 Codename: bionic
Component/platform: hass script influxdb_import (hass --script influxdb_import -d home_assistant)
Description of problem: Exporting hass db to influx results in a parsing error as follows:
hass --script influxdb_import -d home_assistant
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant): not relevantAdditional information: No problems with data directly sent to influxdb with influxdb component.