Re: Indentify tag id with the Zipato/beNext TagReader
Posted: Monday 13 November 2017 17:35
Is there already an update for the different rfid tags?
Open source Home Automation System
https://forum.domoticz.com/
Code: Select all
local zwave_log = "/var/lib/domoticz/OZW_Log.txt"
local event
local tag
for l in io.lines(zwave_log) do
_, _, event, tag = l.find(l, "Node003.*Received:.*0x06, 0x0(%d), 0x01, 0x(%x%x), 0x%x%x")
if tag ~= nil then
tag = tonumber(tag, 16)
domoticz.log('event: ' .. event .. '; tag: ' .. tag, domoticz.LOG_INFO)
end
end
Code: Select all
domoticz.log(...)
Code: Select all
2019-03-17 17:25:05.333 Always, End of queued log message dump
2019-03-17 17:25:05.333 Always,
2019-03-17 20:22:57.319 Error, Node004, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-03-17 20:22:57.319 Always,
2019-03-17 20:22:57.319 Always, Dumping queued log messages
2019-03-17 20:22:57.319 Always,
2019-03-17 20:22:57.319 Always,
2019-03-17 20:22:57.319 Always, End of queued log message dump