Page 1 of 1

Firmware error: Sartano not working Tellstick zwave lite v2

Posted: Fri Mar 17, 2023 9:45 am
by PetriK
Something odd is happening as lost Sartano when moved from Tellstick Net to Tellstick zwave lite v2 receiving capability for native PT2264 transmitters. Anyhow Tellstick can still send Sartano codes but not anymore receive those ???

Edit - while this thread explains how to patch a temporary lua fix to keep my PT2264 firealarms being recognized by tellstick zwave reported a ticket to telldus about this problem: Sartano protocol is recognized as arctech which is a firmware error . I have validate this with 3 different devices with 2 of them different type.

Re: Lost Sartano with Tellstick zwave lite v2

Posted: Fri Mar 17, 2023 9:45 am
by PetriK
Some progress on this matter, wrote a small lua script to find how the Sartano/PT2264 is decoded now... just need to understand which device arctech protocol triggers...

Msg: <Lua table at 0x1db1150>
{ ["protocol"] = arctech,["data"] = 2172,["model"] = codeswitch,}

Msg: <Lua table at 0x1cb1150>
{ ["protocol"] = arctech,["data"] = 2172,["model"] = codeswitch,}

Msg: <Lua table at 0x1f22e10>
{ ["protocol"] = arctech,["data"] = 2172,["model"] = codeswitch,}

Here is the script:
function onInit()
print("Hello world")
end

function dump(o)
if type(o) == 'table' then
local s = '{ '
for k,v in pairs(o) do
if type(k) ~= 'number' then k = '"'..k..'"' end
s = s .. '['..k..'] = ' .. dump(v) .. ','
end
return s .. '} '
else
return tostring(o)
end
end

function onRf433RawData(msg)

print("Msg: %s",msg)
print(dump(msg))

end

Re: Lost Sartano with Tellstick zwave lite v2

Posted: Fri Mar 17, 2023 9:45 am
by PetriK
According to developer.telldus.com, so its time to check if any of these would recognize PT2264...
arctech

This protocol is used by a lot of devices. Some of them includes:

Byebye Standby
Chacon
CoCo Technologies
HomeEasy
Intertechno
Kappa
KlikAanKlikUit
Nexa
Proove
Rusta

Re: Lost Sartano with Tellstick zwave lite v2

Posted: Fri Mar 17, 2023 9:45 am
by PetriK
Looks like Sartano protocol is now miscategorized as arctech. Reported an issue ticket. While waiting for telldus to fix the failure to recognize Sartano protocol wrote a small lua script to be able to keep firealarm activating when PT2264 firealarm is triggered.
-- File: koe.lua

local deviceManager = require "telldus.DeviceManager"
local device = deviceManager:findByName("ALARM fire livingroom")

function onInit()
if not device then
print("Could not find the device")
end
print("Script koe.lua started")
end

function dump(o)
if type(o) == 'table' then
local s = '{ '
for k,v in pairs(o) do
if type(k) ~= 'number' then k = '"'..k..'"' end
s = s .. '['..k..'] = ' .. dump(v) .. ','
end
return s .. '} '
else
return tostring(o)
end
end

function onRf433RawData(msg)

-- print("Msg: %s",msg)
-- print(dump(msg))

if msg['protocol']== 'arctech' then
if msg['data']== 2172 then
-- print("turning on firealarm")
device:command("turnon", nil, "ALARM fire livingroom")
end
end

end

Re: Lost Sartano with Tellstick zwave lite v2

Posted: Fri Mar 17, 2023 9:45 am
by alfs
PetriK wrote: Thu Jan 18, 2018 11:08 am Looks like Sartano protocol is now miscategorized as arctech. Reported an issue ticket.
Has the ticket been answered?

Another idea is that the protocol used by the PT2264 is actually arctech, and that the original Sartano support was buggy to begin with?
PetriK wrote: Thu Jan 18, 2018 11:08 am While waiting for telldus to fix the failure to recognize Sartano protocol wrote a small lua script to be able to keep firealarm activating when PT2264 firealarm is triggered.
Thanks, very useful. I have the same firealarms, and would also like this protocol (arctech ir Sartano, whichever it is) to be mapped in telldus live instead of having to rely on lua scripting (however powerful, it's still a workaround).

/Stefan