|
512 | 512 | }, |
513 | 513 | { |
514 | 514 | "topic": "N/+/solarcharger/+/Load/State", |
515 | | - "message_type": "MetricKind.SWITCH", |
| 515 | + "message_type": "MetricKind.BINARY_SENSOR", |
516 | 516 | "short_id": "solarcharger_load_state", |
517 | 517 | "name": "Solar Charger Load State", |
518 | 518 | "unit_of_measurement": null, |
|
528 | 528 | "is_adjustable_suffix": null, |
529 | 529 | "key_values": {} |
530 | 530 | }, |
| 531 | + { |
| 532 | + "topic": "N/+/solarcharger/+/Mode", |
| 533 | + "message_type": "MetricKind.SWITCH", |
| 534 | + "short_id": "solarcharger_mode", |
| 535 | + "name": "Solar Charger Mode", |
| 536 | + "unit_of_measurement": null, |
| 537 | + "metric_type": "MetricType.NONE", |
| 538 | + "metric_nature": "MetricNature.NONE", |
| 539 | + "device_type": "Solar Charger", |
| 540 | + "value_type": "ValueType.ENUM", |
| 541 | + "precision": null, |
| 542 | + "enum": "GenericOnOff", |
| 543 | + "min_max_range": "RangeType.STATIC", |
| 544 | + "min": null, |
| 545 | + "max": null, |
| 546 | + "is_adjustable_suffix": null, |
| 547 | + "key_values": {} |
| 548 | + }, |
| 549 | + { |
| 550 | + "topic": "N/+/solarcharger/+/Relay/0/State", |
| 551 | + "message_type": "MetricKind.SWITCH", |
| 552 | + "short_id": "solarcharger_relay_state", |
| 553 | + "name": "Solar Charger Relay State", |
| 554 | + "unit_of_measurement": null, |
| 555 | + "metric_type": "MetricType.NONE", |
| 556 | + "metric_nature": "MetricNature.NONE", |
| 557 | + "device_type": "Solar Charger", |
| 558 | + "value_type": "ValueType.ENUM", |
| 559 | + "precision": null, |
| 560 | + "enum": "GenericOnOff", |
| 561 | + "min_max_range": "RangeType.STATIC", |
| 562 | + "min": null, |
| 563 | + "max": null, |
| 564 | + "is_adjustable_suffix": null, |
| 565 | + "key_values": {} |
| 566 | + }, |
531 | 567 | { |
532 | 568 | "topic": "N/+/battery/+/Dc/0/Voltage", |
533 | 569 | "message_type": "MetricKind.SENSOR", |
|
1949 | 1985 | "max": 100, |
1950 | 1986 | "is_adjustable_suffix": null, |
1951 | 1987 | "key_values": {} |
| 1988 | + }, |
| 1989 | + { |
| 1990 | + "topic": "N/+/gps/+/Altitude", |
| 1991 | + "message_type": "MetricKind.NUMBER", |
| 1992 | + "short_id": "gps_altitude", |
| 1993 | + "name": "GPS Altitude", |
| 1994 | + "unit_of_measurement": null, |
| 1995 | + "metric_type": "MetricType.NONE", |
| 1996 | + "metric_nature": "MetricNature.INSTANTANEOUS", |
| 1997 | + "device_type": "Gps", |
| 1998 | + "value_type": "ValueType.FLOAT", |
| 1999 | + "precision": 2, |
| 2000 | + "enum": null, |
| 2001 | + "min_max_range": "RangeType.STATIC", |
| 2002 | + "min": null, |
| 2003 | + "max": null, |
| 2004 | + "is_adjustable_suffix": null, |
| 2005 | + "key_values": {} |
| 2006 | + }, |
| 2007 | + { |
| 2008 | + "topic": "N/+/gps/+/Connected", |
| 2009 | + "message_type": "MetricKind.BINARY_SENSOR", |
| 2010 | + "short_id": "gps_connected", |
| 2011 | + "name": "GPS Connected", |
| 2012 | + "unit_of_measurement": null, |
| 2013 | + "metric_type": "MetricType.NONE", |
| 2014 | + "metric_nature": "MetricNature.NONE", |
| 2015 | + "device_type": "Gps", |
| 2016 | + "value_type": "ValueType.ENUM", |
| 2017 | + "precision": null, |
| 2018 | + "enum": "GenericOnOff", |
| 2019 | + "min_max_range": "RangeType.STATIC", |
| 2020 | + "min": null, |
| 2021 | + "max": null, |
| 2022 | + "is_adjustable_suffix": null, |
| 2023 | + "key_values": {} |
| 2024 | + }, |
| 2025 | + { |
| 2026 | + "topic": "N/+/gps/+/Course", |
| 2027 | + "message_type": "MetricKind.NUMBER", |
| 2028 | + "short_id": "gps_course", |
| 2029 | + "name": "GPS Course", |
| 2030 | + "unit_of_measurement": null, |
| 2031 | + "metric_type": "MetricType.HEADING", |
| 2032 | + "metric_nature": "MetricNature.INSTANTANEOUS", |
| 2033 | + "device_type": "Gps", |
| 2034 | + "value_type": "ValueType.FLOAT", |
| 2035 | + "precision": 2, |
| 2036 | + "enum": null, |
| 2037 | + "min_max_range": "RangeType.STATIC", |
| 2038 | + "min": null, |
| 2039 | + "max": null, |
| 2040 | + "is_adjustable_suffix": null, |
| 2041 | + "key_values": {} |
| 2042 | + }, |
| 2043 | + { |
| 2044 | + "topic": "N/+/gps/+/Fix", |
| 2045 | + "message_type": "MetricKind.BINARY_SENSOR", |
| 2046 | + "short_id": "gps_fix", |
| 2047 | + "name": "GPS Fix", |
| 2048 | + "unit_of_measurement": null, |
| 2049 | + "metric_type": "MetricType.NONE", |
| 2050 | + "metric_nature": "MetricNature.NONE", |
| 2051 | + "device_type": "Gps", |
| 2052 | + "value_type": "ValueType.ENUM", |
| 2053 | + "precision": null, |
| 2054 | + "enum": "GenericOnOff", |
| 2055 | + "min_max_range": "RangeType.STATIC", |
| 2056 | + "min": null, |
| 2057 | + "max": null, |
| 2058 | + "is_adjustable_suffix": null, |
| 2059 | + "key_values": {} |
| 2060 | + }, |
| 2061 | + { |
| 2062 | + "topic": "N/+/gps/+/Speed", |
| 2063 | + "message_type": "MetricKind.NUMBER", |
| 2064 | + "short_id": "gps_speed", |
| 2065 | + "name": "GPS Speed", |
| 2066 | + "unit_of_measurement": null, |
| 2067 | + "metric_type": "MetricType.SPEED", |
| 2068 | + "metric_nature": "MetricNature.INSTANTANEOUS", |
| 2069 | + "device_type": "Gps", |
| 2070 | + "value_type": "ValueType.FLOAT", |
| 2071 | + "precision": 2, |
| 2072 | + "enum": null, |
| 2073 | + "min_max_range": "RangeType.STATIC", |
| 2074 | + "min": null, |
| 2075 | + "max": null, |
| 2076 | + "is_adjustable_suffix": null, |
| 2077 | + "key_values": {} |
| 2078 | + }, |
| 2079 | + { |
| 2080 | + "topic": "N/+/gps/+/NrOfSatellites", |
| 2081 | + "message_type": "MetricKind.NUMBER", |
| 2082 | + "short_id": "gps_nrofsatellites", |
| 2083 | + "name": "GPS Nr Of Satellites", |
| 2084 | + "unit_of_measurement": null, |
| 2085 | + "metric_type": "MetricType.NONE", |
| 2086 | + "metric_nature": "MetricNature.INSTANTANEOUS", |
| 2087 | + "device_type": "Gps", |
| 2088 | + "value_type": "ValueType.INT", |
| 2089 | + "precision": null, |
| 2090 | + "enum": null, |
| 2091 | + "min_max_range": "RangeType.STATIC", |
| 2092 | + "min": null, |
| 2093 | + "max": null, |
| 2094 | + "is_adjustable_suffix": null, |
| 2095 | + "key_values": {} |
| 2096 | + }, |
| 2097 | + { |
| 2098 | + "topic": "N/+/gps/+/Position/Latitude", |
| 2099 | + "message_type": "MetricKind.NUMBER", |
| 2100 | + "short_id": "gps_latitude", |
| 2101 | + "name": "GPS Latitude", |
| 2102 | + "unit_of_measurement": null, |
| 2103 | + "metric_type": "MetricType.LOCATION", |
| 2104 | + "metric_nature": "MetricNature.INSTANTANEOUS", |
| 2105 | + "device_type": "Gps", |
| 2106 | + "value_type": "ValueType.FLOAT", |
| 2107 | + "precision": 2, |
| 2108 | + "enum": null, |
| 2109 | + "min_max_range": "RangeType.STATIC", |
| 2110 | + "min": null, |
| 2111 | + "max": null, |
| 2112 | + "is_adjustable_suffix": null, |
| 2113 | + "key_values": {} |
| 2114 | + }, |
| 2115 | + { |
| 2116 | + "topic": "N/+/gps/+/Position/Longitude", |
| 2117 | + "message_type": "MetricKind.NUMBER", |
| 2118 | + "short_id": "gps_longitude", |
| 2119 | + "name": "GPS Longitude", |
| 2120 | + "unit_of_measurement": null, |
| 2121 | + "metric_type": "MetricType.LOCATION", |
| 2122 | + "metric_nature": "MetricNature.INSTANTANEOUS", |
| 2123 | + "device_type": "Gps", |
| 2124 | + "value_type": "ValueType.FLOAT", |
| 2125 | + "precision": 2, |
| 2126 | + "enum": null, |
| 2127 | + "min_max_range": "RangeType.STATIC", |
| 2128 | + "min": null, |
| 2129 | + "max": null, |
| 2130 | + "is_adjustable_suffix": null, |
| 2131 | + "key_values": {} |
1952 | 2132 | } |
1953 | 2133 | ], |
1954 | 2134 | "enums": [ |
|
2039 | 2219 | "id": "SWITCH", |
2040 | 2220 | "name": "Switch", |
2041 | 2221 | "value": "switch" |
| 2222 | + }, |
| 2223 | + { |
| 2224 | + "id": "GPS", |
| 2225 | + "name": "Gps", |
| 2226 | + "value": "gps" |
2042 | 2227 | } |
2043 | 2228 | ] |
2044 | 2229 | }, |
|
0 commit comments