Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make compliant to current Home Assistant release #1

Open
gebhardm opened this issue May 26, 2020 · 2 comments
Open

Make compliant to current Home Assistant release #1

gebhardm opened this issue May 26, 2020 · 2 comments

Comments

@gebhardm
Copy link

Hello,
this repository cannot be used instantly with a current installation of Home Assistant. For that purpose at least some files (repository.json, config.json, Dockerfile) plus some adaptations need to be provided.
I tried "quickly" to find out what is needed, but this seems to take some more time - and to follow the intent of this repo, please provide an update.
See also https://www.flukso.net/content/flukso-home-assistant
Thanks in advance and best regards
Markus

@gebhardm
Copy link
Author

gebhardm commented Jun 9, 2020

The device configuration topic of an FLM02:

'/device/0123456789abcdef/config/sensor'

{
"mqtt": {
"bridge_restart_timeout": 30,
"bridge_address": "api.flukso.net",
"bridge_port": 8883,
"bridge_keepalive": 60
},
"1": {
"id": "",
"class": "analog",
"type": "electricity",
"function": "L - FLM02",
"port": [
1
],
"enable": 1,
"rid": 0,
"current": 50,
"data_type": "counter",
"voltage": 230
},
"10": {
"id": ""
},
"3": {
"enable": 0,
"class": "analog",
"port": [
3
],
"id": "",
"current": 50,
"type": "electricity",
"voltage": 230
},
"2": {
"enable": 0,
"class": "analog",
"port": [
2
],
"id": "",
"current": 50,
"type": "electricity",
"voltage": 230
},
"5": {
"enable": 0,
"class": "pulse",
"constant": 1,
"port": [
5
],
"id": "",
"type": "electricity"
},
"4": {
"enable": 0,
"class": "pulse",
"constant": 1,
"port": [
4
],
"id": "",
"type": "electricity"
},
"7": {
"id": ""
},
"6": {
"id": "",
"port": [
6
],
"enable": 0,
"class": "uart"
},
"9": {
"id": ""
},
"8": {
"id": ""
},
"main": {
"reset_counters": 0,
"dsmr": 4,
"max_sensors": 6,
"sw_major": 1,
"max_provisioned_sensors": 13,
"led_mode": 256,
"uart_tx_invert": 0,
"phase": 1,
"hw_major": 2,
"hw_minor": 1,
"max_analog_sensors": 3,
"sw_minor": 0,
"uart_rx_invert": 0
},
"fsync": {
"time": 1501084187,
"exit_string": "successful",
"exit_status": 0
},
"13": {
"id": ""
},
"12": {
"id": ""
},
"11": {
"id": ""
},
"daemon": {
"upgrade_url": "http://www.flukso.net/files/upgrade/",
"enable_wan_branch": 1,
"cacert": "/etc/ssl/certs/flukso.ca.crt",
"enable_remote_upgrade": 1,
"wan_base_url": "https://api.flukso.net/",
"enable_lan_branch": 1,
"logmask": "info"
}
}

@bertouttier
Copy link
Contributor

bertouttier commented Jul 23, 2020

PR #2 will fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants