Hi guys. This is my new AX Pro node, part of the Hikvision-Ultimate nodeset.
I developed it with my Ax Pro Hybrid running on a native Node-Red and it works flawlessy, but i need someone to test it with Node-Red running behind Homeassistant as well.
You can find it here: node-red-contrib-hikvision-ultimate (node) - Node-RED
Than you in advance to all of you so gentle, to give it a try and a feedback to me.
Hello,
I installed node-red addon in my HA end I imported the flow, but when I click on “Deploy”, I receive this error:
Hi
Have you installed the latest version of hikvision ultimate node?
I have installed the node and now all running correctly.
I created a pir sensor by reading the state from the payload message
When the PIR sensor is triggered, the status changes to “triggered”.
How do I convert this value to a boolean true/false?
Thanks
Raffaele
Hi Supergiovane, thank you for your great work!!! I have tried your AX Pro node and it was easy to communicate with the alarm panel… Nice!!
Is it possible to control AX Pro relays using this node??
Hi Raffaele
Must check… the main page on github doesn’t tell anything? I cannot remember.
Hi Supergiovane, thank you for your great work!
I have Hikvision DS-2XM6825G0/C-IVS. How can I get People Counting Data and parse via Node-RED?
Hi
maybe the response comes too late, but you could try using the RAW camera node. Sorry, i don’t check this community so often.
Hello Supergiovane, thank you for your efforts. Everything functions well except for one aspect: I only receive data from the sensors and not the CID events. Is there a specific setting on the alarm panel that needs to be adjusted for this?
Please help me remember… What you mean with CID events? Alarm related ones, or what?
If you set this to “all”, you should receive all events.
I mean indeed the CID Events refers to a field “code” in the Alarm event output, for example 3401 (Arm Away), 3441 (Arm Stay) etc.
Even though the Output message is set to ‘all,’ I only seem to receive the Zoneupdates?.
I use this code in a function node:
[
{
"id": "019d4aa4f5b1f50a",
"type": "function",
"z": "4511f15f.cba928",
"name": "Stato armato/disarmato",
"func": "// Estraggo CID EVENTS \n// OCCHIO: Per ogni zona, invia un telegramma di attivazione\n// quindi i messaggi vanno filtrati con un RBE\ntry {\n let armedState = false\n if (msg.payload.CIDEvent.code === 3401) armedState = true // Away\n if (msg.payload.CIDEvent.code === 3441) armedState = true // Stay\n if (msg.payload.CIDEvent.code === 1401) armedState = false // Disarmed\n \n node.status({\n fill: \"green\", shape: \"dot\", text: (armedState ? \"Armato Away\" : \"Disarmato\") + \" (\" + new Date().getDate() + \",\" + new Date().toTimeString() + \")\"\n });\n return { payload: armedState }\n} catch (error) {\n node.status({ fill: \"red\", shape: \"dot\", text: \"Boh\" + \" (\" + new Date().getDate() + \",\" + new Date().toTimeString() + \")\" });\n};\n\n\n",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 530,
"y": 1160,
"wires": [
[
"e33be0e21d749e84"
]
]
}
]
Thank you, I’ll give it a try.
However, I wonder if this will work because I don’t see any messages appearing in the logging on msg.payload.CIDEvent.code
.