[pixometer] Update README.md, Typos corrected (#10168)

Accepted without sign-off under small patch exemption.
This commit is contained in:
Henrik Tóth 2021-02-17 17:36:13 +01:00 committed by GitHub
parent da5c4c8650
commit 2b3e08de43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ The different meter types are pretty similar in basic, but are implemented in pa
| Parameter | Description | Required |
|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|
| resource_id | The ID which represents the current meter. You can find it in the pixometer browser app while editing a specific meter. It should look like this: "https://pixometer.io/portal/#/meters/XXXXX/edit" | Yes |
| resourceId | The ID which represents the current meter. You can find it in the pixometer browser app while editing a specific meter. It should look like this: "https://pixometer.io/portal/#/meters/XXXXX/edit" | Yes |
## Channels
@ -47,19 +47,19 @@ pixometer.things:
```java
Bridge pixometer:account:AccountName "MyAccountName" [ user="xxxxxxxx@xxxx.xx", password="xxxxxxxxxxxx", refresh= 60 ] {
Thing energymeter MeterName1 "MyMeterName1" [ resource_id = "xxxxxxxx" ]
Thing gasmeter MeterName2 "MyMeterName2" [ resource_id = "xxxxxxxx" ]
Thing watermeter MeterName3 "MyMeterName3" [ resource_id = "xxxxxxxx" ]
Thing energymeter MeterName1 "MyMeterName1" [ resourceId = "xxxxxxxx" ]
Thing gasmeter MeterName2 "MyMeterName2" [ resourceId = "xxxxxxxx" ]
Thing watermeter MeterName3 "MyMeterName3" [ resourceId = "xxxxxxxx" ]
}
```
pixometer.items:
```java
Number:Volume Meter_Gas_ReadingValue "[.3%f %unit%]" [] {channel="pixometer:gasmeter:accountname:metername1:last_reading_value"}
Number:Volume Meter_Gas_ReadingValue "[%.3f %unit%]" [] {channel="pixometer:gasmeter:accountname:metername1:last_reading_value"}
DateTime Meter_Gas_LastReadingDate "[%1$td.%1$tm.%1$tY %1$tH:%1$tM]" [] {channel="pixometer:gasmeter:accountname:metername1:last_reading_date"}
Number:Energy Meter_Electricity_ReadingValue "[.3%f %unit%]" [] {channel="pixometer:energymeter:accountname:metername2:last_reading_value"}
Number:Energy Meter_Electricity_ReadingValue "[%.1f %unit%]" [] {channel="pixometer:energymeter:accountname:metername2:last_reading_value"}
DateTime Meter_Electricity_LastReadingDate "[%1$td.%1$tm.%1$tY %1$tH:%1$tM]" [] {channel="pixometer:energymeter:accountname:metername2:last_reading_date"}
Number:Volume Meter_Water_ReadingValue "[.3%f %unit%]" [] {channel="pixometer:watermeter:accountname:metername3:last_reading_value"}
Number:Volume Meter_Water_ReadingValue "[%.3f %unit%]" [] {channel="pixometer:watermeter:accountname:metername3:last_reading_value"}
DateTime Meter_Water_LastReadingDate "[%1$td.%1$tm.%1$tY %1$tH:%1$tM]" [] {channel="pixometer:watermeter:accountname:metername3:last_reading_date"}
```