No announcement yet.

Script to modify door lock logging status

  • Filter
  • Time
  • Show
Clear All
new posts

    Script to modify door lock logging status

    Would there be a way to extract, modify the date/time from GMT to current time zone date & time and then write back the new string?

    Click image for larger version

Name:	Door Lock Logging.PNG
Views:	186
Size:	40.7 KB
ID:	1396486
    I have an event which runs Get Latest Record on the logging device when the lock changes state but the timestamp is GMT...
    HS4 Pro Edition running on Lenovo ThinkCenter & Debian Linux
    Plugins: Z-Wave (via Nortek USB stick

    Home Assistant 2021.10.6 running on HA "Blue" ODROID-N2
    Add-ons: Android Debug Bridge, Duck DNS, ESPHome, File Editor, Glances, HA Google Drive Backup, InfluxDB, Log Viewer, MariaDB, Mosquitto broker, NGINX SSL Proxy, Node-RED, Portainer, SSH & Web Terminal, Samba, TasmoAdmin, UniFi Controller, Visual Studio Code, WireGuard, Zigbee2mqtt, Z-Wave JS to MQTT
    Integrations: AccuWeather, Alexa Media Player, Glances, Google Nest, HACS, HomeSeer, Insteon, IPP, Life360, Local IP, Logitech Harmony Hub, Mobile App, MQTT, My Garage, OpenWeather, Spotify, Tuya Local. Ubiquiti UniFi, Z-Wave JS
    Insteon: 2413S Dual Band PLM
    Zigbee: zzh! CC2652R Rev A
    Z-Wave: RaZberry daughtercard on RPi 1B via ser2net