Wykres commitów

59 Commity (d338de8101102fdebba1a7beaeec082ab6bf1711)

Autor SHA1 Wiadomość Data
Jan Nielsen 597d234eef First mqtt discovery template 2022-07-26 16:26:57 +02:00
Fredrik Öhrström 04e2959919 Release 1.8.0 2022-06-25 21:32:49 +02:00
Fredrik Öhrström ca264b353b Add init=false to ha-addon config.json. 2022-05-15 08:20:44 +02:00
Libo Cannici 8974482c1c Update autodiscover for HA
- Change the device to use auto discovery
- Don't probe /dev/ttyAMA0 that upsets Raspberry PIs

After the changes in this PR I could see on my setup:
```
[...]
Running wmbusmeters ...
No wmbus device detected, waiting for a device to be plugged in.
No meters configured. Printing id:s of all telegrams heard!
```
Then I plugged in my dongle and...

```
Started auto rtlwmbus[00000001] listening on t1
Received telegram from: [ommissis]
          manufacturer: (KAM) Kamstrup Energi (0x2c2d)
                  type: Cold water meter (0x16) encrypted
```

From README.md
```
It is recommended that you use auto to find your dongle, then, when you know the exact device path, you write for example: device=/dev/ttyUSB0:im871a:c1,t1 in the configuration file or on the command line. This will skip the slow probing for all possible dongles when wmbusmeters starts up.

If you have to scan serial devices, then remember that some Raspberry PIs are upset when random data is sent to /dev/ttyAMA0 when it is configured in bluetooth mode. To solve this, add donotprobe=/dev/ttyAMA0
```
2022-04-26 21:30:59 +02:00
Fredrik Öhrström ef5f3fc115 Update ha-addon version. 2022-04-08 15:10:16 +02:00
Fredrik Öhrström 8540559767 Update ha-addon version. 2022-01-02 12:58:16 +01:00
rafalstarczak 8c3df55e2d
Update DOCS.md
Too long path to repository (https://github.com/weetmuts/wmbusmeters/tree/master/ha-addon) in the instalation manual, HA Supervisor answers with error 'Invalid Add-on repository!'.
2021-09-30 22:06:06 +02:00
Andrzej 6b28525ca0 Fix payload with spaces 2021-08-31 10:01:50 +02:00
Tomasz Gramza bba4cc4ce5
Home Assistant add-on (#327)
* Move ha-addon files to repository

* Add repository json file

* Map raw usb access and uart devices

* Fix meter configuration naming

* Allow to use custom configuration for MQTT

* Fix syntax related to mqtt config

* Fix shothand if syntax

* Another try on syntax fix

* Fix mosquitto_pub.sh

* Fix mosquitto_pub.sh

* Refactor mqtt publisher script

* Clean config use

* Use explicit if

* Add docs for mqtt option
2021-08-28 18:01:39 +02:00