define
+define <name> LaMetric <IP> <api key> define LaMetric1 LaMetric 192.168.0.25 1c7e334c7ed461d34d86a9f0b1e4f90d30ceaf379b03644dce044bb01c111781
+ set <required>
+sound - type: text - A LaMetric sound ID. See attr LaMetric_sound for available IDsicon - type: text - A LaMetric icon ID. You can unse a existing icon from LaMetric icon gallery or create your own there.cycle - type: integer - Number of times message should be displayed.priority - type: string - <info|warning|critical> see Attribute: LaMetric_priority for details.info_type - type: string - <none|info|alert> see Attribute: LaMetric_info_type for details.set LaMetric1 msg The lazy fox jumps over the quick brown dogset LaMetric1 msg "The lazy fox jumps over the quick brown dog with quptes"set LaMetric1 msg "The lazy fox jumps over the quick brown dog" sound=cat icon=i1134 cycle=2icon - type: text - A LaMetric icon ID. You can unse a existing icon from LaMetric icon gallery or create your own there.set LaMetric1 msg The lazy fox jumps over the quick brown dog icon=a7703set LaMetric1 msg "The lazy fox jumps without icon over the quick brown dog" icon=noneset LaMetric1 audio_volume 50set LaMetric1 audio_volume 50set LaMetric1 audio_volume 50set LaMetric1 display_brightness 75set LaMetric1 display_brightness_mode autoset LaMetric1 display_brightness_mode manualget <required>
+get LaMetric1 statusAttribute
+none | No notification icon will be shown. |
info | “i” icon will be displayed prior to the notification. Means that notification contains information, no need to take actions on it. |
alert | ”!!!” icon will be displayed prior to the notification. Use it when you want the user to pay attention to that notification as it indicates that something bad happened and user must take immediate action. |
info | This priority means that notification will be displayed on the same “level” as all other notifications on the device that come from apps (for example facebook app). This notification will not be shown when screensaver is active. By default message is sent with “info” priority. This level of notification should be used for notifications like news, weather, temperature, etc. |
warning | Notifications with this priority will interrupt ones sent with lower priority (“info”). Should be used to notify the user about something important but not critical. For example, events like “someone is coming home” should use this priority when sending notifications from smart home. |
critical | The most important notifications. Interrupts notification with priority info or warning and is displayed even if screensaver is active. Use with care as these notifications can pop in the middle of the night. Must be used only for really important notifications like notifications from smoke detectors, water leak sensors, etc. Use it for events that require human interaction immediately. |
none | negative1 | positive3 |
bicycle | negative2 | positive4 |
car | negative3 | positive5 |
cash | negative4 | positive6 |
cat | negative5 | statistic |
dog | notification | thunder |
dog2 | notification2 | water1 |
energy | notification3 | water2 |
knock-knock | notification4 | win |
letter_email | open_door | win2 |
lose1 | positive1 | wind |
lose2 | positive2 | wind_short |
Readings
+| audio_volume | - Audio volume level of the display |
| bluetooth_mac | - Bluetooth mac address of the display |
| device_firmware | - Device firmware version |
| device_mode | - Device mode |
| device_model | - Device model number |
| device_name | - Device name |
| display_brightness | - Display brightness level of the display |
| display_brightness_mode | - Display brightness mode of the display |
| display_height | - Device display hight |
| display_type | - Device display type |
| display_width | - Device display width |
| lastIcon | - Icon Id of the last send message |
| lastMessage | - Last send message text |
| lastResult | - Last response code of a display request |
| lastSound | - Sound Id of the last send message |
| state | - Device state |
| wifi_encryption | - WiFi encryption type |
| wifi_mac | - WiFi mac address |
| wifi_mode | - WiFi mode of the display |
| wifi_ssid | - WiFi ssid of the display |
| wifi_strength | - Current WiFi strenght of the display |