Page 1 of 1

Cannot find endpoint map to instance

Posted: 31 Dec 2020 16:01
by pawnies20
Hello.
I m using jeedom home automation software and i'v just configured differents sensors with z-uno.
My problem is i can only refresh value when i make a get from Jeedom.
Jeedom can't receive "auto" value from z-uno
Jeedom use openzwave and this is the logs:


2020-12-31 01:27:23.785 Error, Node067, Cannot find endpoint map to instance for Command Class COMMAND_CLASS_ALARM endpoint 0
2020-12-31 01:27:26.891 Detail, Node067, Received: 0x01, 0x0e, 0x00, 0x04, 0x00, 0x43, 0x08, 0x60, 0x0d, 0x00, 0x01, 0x30, 0x03, 0xff, 0x01, 0x1f
2020-12-31 01:27:26.892 Detail,
2020-12-31 01:27:26.892 Error, Node067, Cannot find endpoint map to instance for Command Class COMMAND_CLASS_SENSOR_BINARY endpoint 0
2020-12-31 01:27:26.942 Detail, Node067, Received: 0x01, 0x15, 0x00, 0x04, 0x00, 0x43, 0x0f, 0x60, 0x0d, 0x00, 0x01, 0x71, 0x05, 0x00, 0x00, 0x00, 0xff, 0x07, 0x02, 0x00, 0x00, 0x00, 0x40
2020-12-31 01:27:26.942 Detail,
2020-12-31 01:27:26.942 Error, Node067, Cannot find endpoint map to instance for Command Class COMMAND_CLASS_ALARM endpoint 0
2020-12-31 01:27:29.976 Detail, Node067, Received: 0x01, 0x0e, 0x00, 0x04, 0x00, 0x43, 0x08, 0x60, 0x0d, 0x00, 0x01, 0x30, 0x03, 0xff, 0x01, 0x1f
2020-12-31 01:27:29.976 Detail,
2020-12-31 01:27:29.976 Error, Node067, Cannot find endpoint map to instance for Command Class COMMAND_CLASS_SENSOR_BINARY endpoint 0
2020-12-31 01:27:30.003 Detail, Node067, Received: 0x01, 0x15, 0x00, 0x04, 0x00, 0x43, 0x0f, 0x60, 0x0d, 0x00, 0x01, 0x71, 0x05, 0x00, 0x00, 0x00, 0xff, 0x07, 0x02, 0x00, 0x00, 0x00, 0x40
2020-12-31 01:27:30.004 Detail,
2020-12-31 01:27:30.004 Error, Node067, Cannot find endpoint map to instance for Command Class COMMAND_CLASS_ALARM endpoint 0

I ve searched in the forum and found this problem but resolved ...

https://forum.z-wave.me/viewtopic.php?f ... map#p84247

Is a jeedom problem?

Many thanx

Re: Cannot find endpoint map to instance

Posted: 01 Jan 2021 04:55
by PoltoS
Looks like Jeedom does not accept MultiChannelAssociations on channel 0. This is a must in Z-Wave Plus

Re: Cannot find endpoint map to instance

Posted: 01 Jan 2021 20:43
by pawnies20
Happy new year ans thanx for your answer.
I'm using an aeon labs S2 stick
i think it's not an zwave+ key.
It's perhaps the problem?

Re: Cannot find endpoint map to instance

Posted: 02 Jan 2021 01:49
by PoltoS
I don't think it is a day now issue. The stock should be okey.

The issue should be in the Jeedom software

Re: Cannot find endpoint map to instance

Posted: 08 Jan 2021 01:02
by pawnies20
HELLO !
with an aeon Gen5 i didn't work more ...

This is jeedom parameters for z-uno.

It's correct?

Thanx

{
"state" : "ok",
"code" : 0,
"result" : {
"associations" : [
],
"instances" : {
"1" : {
"updateTime" : 1610055730,
"commandClasses" : {
"32" : {
"data" : {
"0" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "Byte",
"genre" : "Basic",
"read_only" : false,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Basic",
"val" : 0,
"pendingState" : null,
"type" : "int",
"data_items" : "A byte between 0 and 255",
"value_id" : 72057594105561090,
"units" : "",
"write_only" : false
},
"updateTime" : 1
},
"name" : "COMMAND_CLASS_BASIC"
},
"38" : {
"data" : {
"0" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "Byte",
"genre" : "User",
"read_only" : false,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Level",
"val" : 0,
"pendingState" : null,
"type" : "int",
"data_items" : "A byte between 0 and 255",
"value_id" : 72057594109853700,
"units" : "",
"write_only" : false
},
"1" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "Button",
"genre" : "User",
"read_only" : false,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Bright",
"val" : null,
"pendingState" : null,
"type" : "bool",
"data_items" : "True or False",
"value_id" : 72057594109853730,
"units" : "",
"write_only" : true
},
"2" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "Button",
"genre" : "User",
"read_only" : false,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Dim",
"val" : null,
"pendingState" : null,
"type" : "bool",
"data_items" : "True or False",
"value_id" : 72057594109853730,
"units" : "",
"write_only" : true
},
"3" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "Bool",
"genre" : "System",
"read_only" : false,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Ignore Start Level",
"val" : true,
"pendingState" : null,
"type" : "bool",
"data_items" : "True or False",
"value_id" : 72057594118242350,
"units" : "",
"write_only" : false
},
"4" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "Byte",
"genre" : "System",
"read_only" : false,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Start Level",
"val" : 0,
"pendingState" : null,
"type" : "int",
"data_items" : "A byte between 0 and 255",
"value_id" : 72057594118242370,
"units" : "",
"write_only" : false
},
"updateTime" : 1
},
"name" : "COMMAND_CLASS_SWITCH_MULTILEVEL"
},
"48" : {
"data" : {
"0" : {
"updateTime" : 1610055730,
"help" : "",
"typeZW" : "Bool",
"genre" : "User",
"read_only" : true,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Sensor",
"val" : true,
"pendingState" : null,
"type" : "bool",
"data_items" : "Read only",
"value_id" : 72057594110017540,
"units" : "",
"write_only" : false
},
"updateTime" : 1610055730
},
"name" : "COMMAND_CLASS_SENSOR_BINARY"
},
"49" : {
"data" : {
"20" : {
"updateTime" : 1610055730,
"help" : "",
"typeZW" : "Decimal",
"genre" : "User",
"read_only" : true,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Distance",
"val" : 2.23,
"pendingState" : null,
"type" : "float",
"data_items" : "Read only",
"value_id" : 72057594110034240,
"units" : "m",
"write_only" : false
},
"updateTime" : 1610055730
},
"name" : "COMMAND_CLASS_SENSOR_MULTILEVEL"
},
"94" : {
"data" : {
"0" : {
"updateTime" : 1610055728,
"help" : "",
"typeZW" : "Byte",
"genre" : "System",
"read_only" : true,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "ZWave+ Version",
"val" : 1,
"pendingState" : null,
"type" : "int",
"data_items" : "Read only",
"value_id" : 72057594119159800,
"units" : "",
"write_only" : false
},
"1" : {
"updateTime" : 1610055728,
"help" : "",
"typeZW" : "Short",
"genre" : "System",
"read_only" : true,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "InstallerIcon",
"val" : 3072,
"pendingState" : null,
"type" : "int",
"data_items" : "Read only",
"value_id" : 72057594119159820,
"units" : "",
"write_only" : false
},
"2" : {
"updateTime" : 1610055728,
"help" : "",
"typeZW" : "Short",
"genre" : "System",
"read_only" : true,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "UserIcon",
"val" : 3072,
"pendingState" : null,
"type" : "int",
"data_items" : "Read only",
"value_id" : 72057594119159840,
"units" : "",
"write_only" : false
},
"updateTime" : 1610055728
},
"name" : "COMMAND_CLASS_ZWAVE_PLUS_INFO"
},
"112" : {
"data" : {
"1" : {
"updateTime" : 1,
"help" : "Debug mode to apply channels, associations and power mode changes on the fly without exclusion-inclusion sequence. Use for debugging only!",
"typeZW" : "List",
"genre" : "Config",
"read_only" : false,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Debug mode",
"val" : "Disabled",
"pendingState" : null,
"type" : "List",
"data_items" : "Disabled;Enabled",
"value_id" : 72057594115260430,
"units" : "",
"write_only" : false
},
"2" : {
"updateTime" : 1,
"help" : "Blink with service LED during operation",
"typeZW" : "List",
"genre" : "Config",
"read_only" : false,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Blink Service LED",
"val" : "Enabled",
"pendingState" : null,
"type" : "List",
"data_items" : "Disabled;Enabled",
"value_id" : 72057594115260450,
"units" : "",
"write_only" : false
},
"updateTime" : 1
},
"name" : "COMMAND_CLASS_CONFIGURATION"
},
"113" : {
"data" : {
"0" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "Byte",
"genre" : "User",
"read_only" : true,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Alarm Type",
"val" : 0,
"pendingState" : null,
"type" : "int",
"data_items" : "Read only",
"value_id" : 72057594111082500,
"units" : "",
"write_only" : false
},
"1" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "Byte",
"genre" : "User",
"read_only" : true,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Alarm Level",
"val" : 0,
"pendingState" : null,
"type" : "int",
"data_items" : "Read only",
"value_id" : 72057594111082510,
"units" : "",
"write_only" : false
},
"2" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "Byte",
"genre" : "User",
"read_only" : true,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "SourceNodeId",
"val" : 0,
"pendingState" : null,
"type" : "int",
"data_items" : "Read only",
"value_id" : 72057594111082530,
"units" : "",
"write_only" : false
},
"3" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "Byte",
"genre" : "User",
"read_only" : false,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Alarm Notification",
"val" : null,
"pendingState" : null,
"type" : "int",
"data_items" : "A byte between 0 and 255",
"value_id" : 72057594111082540,
"units" : "",
"write_only" : true
},
"10" : {
"updateTime" : 1610055734,
"help" : "",
"typeZW" : "Byte",
"genre" : "User",
"read_only" : true,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Burglar",
"val" : 2,
"pendingState" : null,
"type" : "int",
"data_items" : "Read only",
"value_id" : 72057594111082660,
"units" : "",
"write_only" : false
},
"updateTime" : 1
},
"name" : "COMMAND_CLASS_ALARM"
},
"115" : {
"data" : {
"0" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "List",
"genre" : "System",
"read_only" : false,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Powerlevel",
"val" : "Normal",
"pendingState" : null,
"type" : "List",
"data_items" : "-1dB;-2dB;-3dB;-4dB;-5dB;-6dB;-7dB;-8dB;-9dB;Normal",
"value_id" : 72057594119503870,
"units" : "dB",
"write_only" : false
},
"1" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "Byte",
"genre" : "System",
"read_only" : false,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Timeout",
"val" : 0,
"pendingState" : null,
"type" : "int",
"data_items" : "A byte between 0 and 255",
"value_id" : 72057594119503890,
"units" : "seconds",
"write_only" : false
},
"2" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "Button",
"genre" : "System",
"read_only" : false,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Set Powerlevel",
"val" : null,
"pendingState" : null,
"type" : "bool",
"data_items" : "True or False",
"value_id" : 72057594119503900,
"units" : "",
"write_only" : true
},
"3" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "Byte",
"genre" : "System",
"read_only" : false,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Test Node",
"val" : 0,
"pendingState" : null,
"type" : "int",
"data_items" : "A byte between 0 and 255",
"value_id" : 72057594119503920,
"units" : "",
"write_only" : false
},
"4" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "List",
"genre" : "System",
"read_only" : false,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Test Powerlevel",
"val" : "Normal",
"pendingState" : null,
"type" : "List",
"data_items" : "-1dB;-2dB;-3dB;-4dB;-5dB;-6dB;-7dB;-8dB;-9dB;Normal",
"value_id" : 72057594119503940,
"units" : "dB",
"write_only" : false
},
"5" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "Short",
"genre" : "System",
"read_only" : false,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Frame Count",
"val" : 0,
"pendingState" : null,
"type" : "int",
"data_items" : "A short between 4294934528 and 32767",
"value_id" : 72057594119503950,
"units" : "",
"write_only" : false
},
"6" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "Button",
"genre" : "System",
"read_only" : false,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Test",
"val" : null,
"pendingState" : null,
"type" : "bool",
"data_items" : "True or False",
"value_id" : 72057594119503970,
"units" : "",
"write_only" : true
},
"7" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "Button",
"genre" : "System",
"read_only" : false,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Report",
"val" : null,
"pendingState" : null,
"type" : "bool",
"data_items" : "True or False",
"value_id" : 72057594119504000,
"units" : "",
"write_only" : true
},
"8" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "List",
"genre" : "System",
"read_only" : true,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Test Status",
"val" : "Failed",
"pendingState" : null,
"type" : "List",
"data_items" : "Read only",
"value_id" : 72057594119504000,
"units" : "",
"write_only" : false
},
"9" : {
"updateTime" : 1,
"help" : "",
"typeZW" : "Short",
"genre" : "System",
"read_only" : true,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Acked Frames",
"val" : 0,
"pendingState" : null,
"type" : "int",
"data_items" : "Read only",
"value_id" : 72057594119504020,
"units" : "",
"write_only" : false
},
"updateTime" : 1
},
"name" : "COMMAND_CLASS_POWERLEVEL"
},
"134" : {
"data" : {
"0" : {
"updateTime" : 1610055729,
"help" : "",
"typeZW" : "String",
"genre" : "System",
"read_only" : true,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Library Version",
"val" : "3",
"pendingState" : null,
"type" : "String",
"data_items" : "Read only",
"value_id" : 72057594119815170,
"units" : "",
"write_only" : false
},
"1" : {
"updateTime" : 1610055729,
"help" : "",
"typeZW" : "String",
"genre" : "System",
"read_only" : true,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Protocol Version",
"val" : "4.38",
"pendingState" : null,
"type" : "String",
"data_items" : "Read only",
"value_id" : 72057594119815180,
"units" : "",
"write_only" : false
},
"2" : {
"updateTime" : 1610055729,
"help" : "",
"typeZW" : "String",
"genre" : "System",
"read_only" : true,
"expected_data" : null,
"poll_intensity" : 0,
"name" : "Application Version",
"val" : "2.17",
"pendingState" : null,
"type" : "String",
"data_items" : "Read only",
"value_id" : 72057594119815200,
"units" : "",
"write_only" : false
},
"updateTime" : 1610055729
},
"name" : "COMMAND_CLASS_VERSION"
},
"updateTime" : 1610055730,
"data" : {
"updateTime" : 1610055730
}
}
},
"updateTime" : 1610055734
},
"groups" : {
"1" : {
"associations" : [
[
1,
1
]
],
"maximumAssociations" : 5,
"pending" : 1,
"label" : "Lifeline"
},
"2" : {
"associations" : [
],
"maximumAssociations" : 5,
"pending" : 1,
"label" : "Control Group"
},
"updateTime" : 1610055734
},
"command_classes" : {
"0" : {
"hex" : "0x00",
"name" : "COMMAND_CLASS_NO_OPERATION"
},
"32" : {
"hex" : "0x20",
"name" : "COMMAND_CLASS_BASIC"
},
"38" : {
"hex" : "0x26",
"name" : "COMMAND_CLASS_SWITCH_MULTILEVEL"
},
"48" : {
"hex" : "0x30",
"name" : "COMMAND_CLASS_SENSOR_BINARY"
},
"49" : {
"hex" : "0x31",
"name" : "COMMAND_CLASS_SENSOR_MULTILEVEL"
},
"90" : {
"hex" : "0x5a",
"name" : "COMMAND_CLASS_DEVICE_RESET_LOCALLY"
},
"94" : {
"hex" : "0x5e",
"name" : "COMMAND_CLASS_ZWAVE_PLUS_INFO"
},
"96" : {
"hex" : "0x60",
"name" : "COMMAND_CLASS_MULTI_CHANNEL_V2"
},
"112" : {
"hex" : "0x70",
"name" : "COMMAND_CLASS_CONFIGURATION"
},
"113" : {
"hex" : "0x71",
"name" : "COMMAND_CLASS_ALARM"
},
"114" : {
"hex" : "0x72",
"name" : "COMMAND_CLASS_MANUFACTURER_SPECIFIC"
},
"115" : {
"hex" : "0x73",
"name" : "COMMAND_CLASS_POWERLEVEL"
},
"133" : {
"hex" : "0x85",
"name" : "COMMAND_CLASS_ASSOCIATION"
},
"134" : {
"hex" : "0x86",
"name" : "COMMAND_CLASS_VERSION"
},
"142" : {
"hex" : "0x8e",
"name" : "COMMAND_CLASS_MULTI_INSTANCE_ASSOCIATION"
}
},
"last_notification" : {
"code" : 1,
"help" : "Messages that timeout will send a Notification with this code",
"description" : "Timeout",
"next_wakeup" : null,
"receiveTime" : 1610055734
},
"data" : {
"isReady" : {
"updateTime" : 1610055734,
"value" : true
},
"isRouting" : {
"value" : true
},
"isZwavePlus" : {
"value" : true
},
"basicType" : {
"value" : 4
},
"isListening" : {
"value" : true
},
"is_enable" : {
"value" : true
},
"is_manufacturer_specific_ok" : {
"enabled" : true,
"value" : true
},
"genericType" : {
"value" : 7
},
"isAwake" : {
"updateTime" : 1610055734,
"value" : true
},
"manufacturerProductId" : {
"hex" : "0x0001",
"value" : 1
},
"statistics" : {
"delivered" : 100,
"total" : 28,
"deliveryTime" : 26
},
"isEnable" : {
"value" : true
},
"specificType" : {
"value" : 1
},
"neighbours" : {
"value" : [
1
]
},
"maxBaudRate" : {
"value" : 40000
},
"isSecurity" : {
"value" : false
},
"state" : {
"value" : "Complete"
},
"version" : {
"value" : 4
},
"location" : {
"value" : "aucun"
},
"manufacturerId" : {
"hex" : "0x0115",
"value" : 277
},
"type" : {
"value" : "Sensor Notification"
},
"product_name" : {
"value" : "Z-Uno"
},
"pending_changes" : {
"count" : 0
},
"battery_level" : {
"value" : null
},
"description" : {
"product_name" : "Z-Uno",
"name" : "4 Z-Uno",
"location" : "aucun"
},
"isVirtual" : {
"value" : ""
},
"isFrequentListening" : {
"value" : false
},
"wakeup_interval" : {
"next_wakeup" : null,
"value" : null
},
"is_neighbours_ok" : {
"neighbors" : 1,
"enabled" : true,
"value" : true
},
"can_wake_up" : {
"value" : false
},
"lastReceived" : {
"updateTime" : 1610055734
},
"isBeaming" : {
"value" : true
},
"name" : {
"value" : "4 Z-Uno"
},
"manufacturerProductType" : {
"hex" : "0x0110",
"value" : 272
},
"is_groups_ok" : {
"enabled" : true,
"value" : true
},
"isSecured" : {
"enabled" : false,
"value" : false
},
"vendorString" : {
"value" : "Z-Wave.Me"
},
"isInfoReceived" : {
"value" : true
},
"isFailed" : {
"value" : false
},
"security" : {
"value" : 0
}
},
"multi_instance" : {
"instances" : 1,
"support" : true
}
}
}

Re: Cannot find endpoint map to instance

Posted: 08 Jan 2021 01:04
by pawnies20
And this is my arduino program:

// ArduinoFred Rev 28/12/2020 a 23:38
//https://z-uno.z-wave.me/shield/configurator/

//7HC-SR04 Ultrasonic Distance Sensor Pin 9 et 10


// channel number
#define ZUNO_CHANNEL_NUMBER_ONE 1

// Global variables

byte pin3pwmSwitchMultilevelState = 0, _pin3pwmSwitchMultilevelState = 1; //0-10v
byte pin11SensorBinaryState; //switch pin11 (arduino) mais ADC3 sur z-uno

// Z-Wave channels
ZUNO_SETUP_CHANNELS(
ZUNO_SENSOR_BINARY(ZUNO_SENSOR_BINARY_TYPE_GENERAL_PURPOSE, pin11SensorBinaryGetter), //switch1
ZUNO_SWITCH_MULTILEVEL(pin3pwmSwitchMultilevelGetter, pin3pwmSwitchMultilevelSetter), //0-10v
ZUNO_SENSOR_MULTILEVEL(
ZUNO_SENSOR_MULTILEVEL_TYPE_DISTANCE,
0, // scale is meters
SENSOR_MULTILEVEL_SIZE_TWO_BYTES,
2, // two decimals after dot
getter
)

);


ZUNO_SETUP_ASSOCIATIONS(ZUNO_ASSOCIATION_GROUP_SET_VALUE); // to control other devices


int turn_on_distance_cm = 50; // Turn on light in CTRL_GROUP_1 if distance is < 50 cm
int readPin = 9; //CuveRead
int triggerPin = 10; //CuveTrigger
byte controlState = 0;
word lastValue;

void setup() {
Serial.begin();
pinMode(readPin, INPUT);
pinMode(triggerPin, OUTPUT);
digitalWrite(triggerPin, LOW);
pinMode(3, OUTPUT);
zunoFastPWMInit(0);
pinMode(11, INPUT); //Switch1
pin11SensorBinaryState = !digitalRead(11);//switch1

}

void loop() {

//Partie 0-10v

if (pin3pwmSwitchMultilevelState != _pin3pwmSwitchMultilevelState) {
_pin3pwmSwitchMultilevelState = pin3pwmSwitchMultilevelState;
zunoFastPWMSet(255 - pin3pwmSwitchMultilevelState, pin3pwmSwitchMultilevelState);
zunoFastPWMEnable(0);
zunoFastPWMEnable(1);
}

//Partie read switch

byte _pin11SensorBinaryState = digitalRead(11);
if (pin11SensorBinaryState != _pin11SensorBinaryState) {
pin11SensorBinaryState = _pin11SensorBinaryState;
zunoSendReport(1);
zunoSendReport(2); // send report over the Z-Wave to the controller
}

Serial.println("Hello!");
Serial.println( pin11SensorBinaryState );

//Partie cuve

int tmp;

// trigger measurement

digitalWrite(triggerPin, LOW);
delayMicroseconds(10);
digitalWrite(triggerPin, HIGH);
delayMicroseconds(10);
digitalWrite(triggerPin, LOW);

// read pulse width
tmp = pulseIn(readPin, HIGH, 100000);
if (tmp != 0) {
lastValue = tmp / 58; // convert to cm, see datasheet
Serial.println(lastValue);


// send On/Off to control group
if (lastValue < turn_on_distance_cm && controlState == 0) {
zunoSendToGroupSetValueCommand(CTRL_GROUP_1, 255);
controlState = 255;
} else if (lastValue >= turn_on_distance_cm && controlState == 255) {
zunoSendToGroupSetValueCommand(CTRL_GROUP_1, 0);
controlState = 0;
}

// send report to controller (Life Line group)
zunoSendReport(1);
zunoSendReport(ZUNO_CHANNEL_NUMBER_ONE); // send report over the Z-Wave to the controller
}

delay(3000);
}
word getter() {
return lastValue;

}

// Getters and setters

void pin3pwmSwitchMultilevelSetter(byte value) {
pin3pwmSwitchMultilevelState = value;
}

byte pin3pwmSwitchMultilevelGetter() {
return pin3pwmSwitchMultilevelState;
}

byte pin11SensorBinaryGetter() {
return pin11SensorBinaryState;
}

Re: Cannot find endpoint map to instance

Posted: 08 Jan 2021 03:08
by PoltoS
Do you expect direct association between Z-Uno and some Aeotec device? Which one? Very hard to help with a lot of some debug info from Jeedom and no info on the real issue