[SOLVED] SWITCH_MULTILEVEL shows up as Binary Sensor?

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
janjoh
Posts: 35
Joined: 23 Oct 2016 16:57

[SOLVED] SWITCH_MULTILEVEL shows up as Binary Sensor?

Post by janjoh »

Hello!

Uhm, i have uploaded the simple dimmer sketch... But in my Homeseer i see this: It shows up as a binary sensor???

All associations for node 26 have been retrieved successfully, it supports associations on these groups: 1.
okt-24 19:04:32 Z-Wave Node 26 Association Group 1 can have 5 associations, and currently has 0
okt-24 19:04:32 Z-Wave Getting association information for node 26
okt-24 19:04:23 Z-Wave Node 26 is a Z-Wave Plus node. Retrieving ZWPlus Info...
okt-24 19:04:23 Z-Wave Node 26 is Z-Wave version: Lib: 4,05 App: 2.6
okt-24 19:04:23 Z-Wave Node: 26 Supports Class(es): ZWAVEPLUS_INFO_V2, BASIC, SENSOR_BINARY_V2, ALARM_V2, CONFIGURATION, ASSOCIATION, MULTI_INSTANCE_ASSOCIATION, FIRMWARE_UPDATE_MD, DEVICE_RESET_LOCALLY, ASSOCIATION_GRP_INFO, POWERLEVEL, VERSION_V2, MANUFACTURER_SPECIFIC
janjoh
Posts: 35
Joined: 23 Oct 2016 16:57

Re: SWITCH_MULTILEVEL shows up as Binary Sensor?

Post by janjoh »

Ok.. same if i try the BMP180 ... i am thinking something is wrong in my compile.. i see warnings.. Does any of this make sense?

I especially wonder if "at 1: warning 119: don't know what to do with file ''. file extension unsupported" may have something to do with it?


Build options changed, rebuilding all
Using library ZUNO_BMP180 in folder: C:\Users\j2\AppData\Roaming\Arduino15\packages\Z-Uno\hardware\zw8051\2.0.6\libraries\ZUNO_BMP180 (legacy)

C:\Users\j2\AppData\Roaming\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.10/zuno_toolchain/compiler build C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp/BMP180Test.cpp -r C:\Users\j2\AppData\Roaming\Arduino15\packages\Z-Uno\hardware\zw8051\2.0.6

************* Building Arduino Sketch *************
C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp/BMP180Test.cpp
***************************************************

Preprocessing file: C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Print.cpp with SDCPP...
Compiling C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Print_sdcpp_.cpp ...
Preprocessing file: C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Stream.cpp with SDCPP...
Compiling C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Stream_sdcpp_.cpp ...
Preprocessing file: C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Wire.cpp with SDCPP...
Compiling C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Wire_sdcpp_.cpp ...
Preprocessing file: C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\HardwareSerial.cpp with SDCPP...
Compiling C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\HardwareSerial_sdcpp_.cpp ...
Preprocessing file: C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\HLCore.cpp with SDCPP...
Compiling C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\HLCore_sdcpp_.cpp ...
Preprocessing file: C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\ZUNO_BMP180.cpp with SDCPP...
Compiling C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\ZUNO_BMP180_sdcpp_.cpp ...
ZUNO_BMP180_sdcpp_.cpp:516:1:warning:control may reach end of non-void function
ZUNO_BMP180_sdcpp_.cpp:519:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:520:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:521:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:522:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:523:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:524:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:526:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:527:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:529:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:531:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:532:16:warning:conversion from string literal to 'char *' is deprecated
Preprocessing file: C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\_BMP180Test.cpp with SDCPP...
Compiling C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\_BMP180Test_sdcpp_.cpp ...
BMP180Test.ino:37:18:warning:conversion from string literal to 'char *' is deprecated
BMP180Test.ino:45:18:warning:conversion from string literal to 'char *' is deprecated
BMP180Test.ino:47:20:warning:conversion from string literal to 'char *' is deprecated
BMP180Test.ino:50:18:warning:conversion from string literal to 'char *' is deprecated
BMP180Test.ino:52:20:warning:conversion from string literal to 'char *' is deprecated
BMP180Test.ino:56:18:warning:conversion from string literal to 'char *' is deprecated
BMP180Test.ino:58:20:warning:conversion from string literal to 'char *' is deprecated
BMP180Test.ino:64:18:warning:conversion from string literal to 'char *' is deprecated
BMP180Test.ino:66:20:warning:conversion from string literal to 'char *' is deprecated
Preprocessing file: C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Print.cpp with SDCPP...
Compiling C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Print_sdcpp_.cpp ...
Preprocessing file: C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Stream.cpp with SDCPP...
Compiling C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Stream_sdcpp_.cpp ...
Preprocessing file: C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Wire.cpp with SDCPP...
Compiling C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Wire_sdcpp_.cpp ...
Preprocessing file: C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\HardwareSerial.cpp with SDCPP...
Compiling C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\HardwareSerial_sdcpp_.cpp ...
Preprocessing file: C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\HLCore.cpp with SDCPP...
Compiling C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\HLCore_sdcpp_.cpp ...
Preprocessing file: C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\ZUNO_BMP180.cpp with SDCPP...
Compiling C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\ZUNO_BMP180_sdcpp_.cpp ...
ZUNO_BMP180_sdcpp_.cpp:516:1:warning:control may reach end of non-void function
ZUNO_BMP180_sdcpp_.cpp:519:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:520:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:521:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:522:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:523:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:524:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:526:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:527:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:529:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:531:16:warning:conversion from string literal to 'char *' is deprecated
ZUNO_BMP180_sdcpp_.cpp:532:16:warning:conversion from string literal to 'char *' is deprecated
Preprocessing file: C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\_BMP180Test.cpp with SDCPP...
Compiling C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\_BMP180Test_sdcpp_.cpp ...
BMP180Test.ino:37:18:warning:conversion from string literal to 'char *' is deprecated
BMP180Test.ino:45:18:warning:conversion from string literal to 'char *' is deprecated
BMP180Test.ino:47:20:warning:conversion from string literal to 'char *' is deprecated
BMP180Test.ino:50:18:warning:conversion from string literal to 'char *' is deprecated
BMP180Test.ino:52:20:warning:conversion from string literal to 'char *' is deprecated
BMP180Test.ino:56:18:warning:conversion from string literal to 'char *' is deprecated
BMP180Test.ino:58:20:warning:conversion from string literal to 'char *' is deprecated
BMP180Test.ino:64:18:warning:conversion from string literal to 'char *' is deprecated
BMP180Test.ino:66:20:warning:conversion from string literal to 'char *' is deprecatedCompiling file "C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\LLCore_arduino.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include" "C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\LLCore_arduino.c"
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "LLCore_arduino.rel" "LLCore_arduino".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\LLCore_arduino.c:25: warning 85: in function NOPS unreferenced function argument : 'i'
C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\LLCore_arduino.c:208: warning 85: in function delayMicroseconds unreferenced function argument : 'value'
Compiling file "C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Print_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include" "C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Print_ucxx.c"
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "Print_ucxx.rel" "Print_ucxx".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Print_ucxx.c:328: warning 85: in function __cxx__Print__method__write0105 unreferenced local variable : 'cxx_sloc'
Compiling file "C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Stream_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include" "C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Stream_ucxx.c"
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "Stream_ucxx.rel" "Stream_ucxx".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Stream_ucxx.c:244: warning 85: in function __cxx__Stream__method__read00 unreferenced local variable : 'cxx_sloc'
Compiling file "C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Wire_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include" "C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Wire_ucxx.c"
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "Wire_ucxx.rel" "Wire_ucxx".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\Wire_ucxx.c:876: warning 85: in function __cxx__TwoWire__method__endTransmission0105 unreferenced function argument : 'stop'
Compiling file "C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\HardwareSerial_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include" "C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\HardwareSerial_ucxx.c"
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "HardwareSerial_ucxx.rel" "HardwareSerial_ucxx".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
Compiling file "C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\HLCore_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include" "C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\HLCore_ucxx.c"
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "HLCore_ucxx.rel" "HLCore_ucxx".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
Compiling file "C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\ZUNO_BMP180_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include" "C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\ZUNO_BMP180_ucxx.c"
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "ZUNO_BMP180_ucxx.rel" "ZUNO_BMP180_ucxx".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\ZUNO_BMP180_ucxx.c:416: warning 59: function '__cxx__ZUNO_BMP180__method__begin0105' must return value
Compiling file "C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\_BMP180Test_ucxx.c" by means of SDCC...
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include" "C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp\_BMP180Test_ucxx.c"
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "_BMP180Test_ucxx.rel" "_BMP180Test_ucxx".asm
at 1: warning 119: don't know what to do with file ''. file extension unsupported
sdcc: Calling preprocessor...
sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\j2\AppData\Roaming\ARDUIN~1\packages\Z-Uno\tools\ZUNO_T~1\0008~1.10\ZUNO_T~1/sdcc/\bin\..\include" "C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp/main.c"
sdcc: Generating code...
sdcc: Calling assembler...
sdcc: sdas8051.exe -plosgffw "main.rel" "main".asm
sdcc: Calling linker...
sdcc: sdld.exe -nf "main.lk"
at 1: warning 119: don't know what to do with file ''. file extension unsupported
Making firmware file: C:\Users\j2\AppData\Local\Temp\build844417894697283922.tmp/BMP180Test-0206.hex ...packihx: read 643 lines, wrote 1237: OK.
[Done]

Conversion: hex->bin
Elapsed:4.59999990463 s
[OK]


Sketch uses 19,612 bytes (60%) of program storage space. Maximum is 32,256 bytes.
Global variables use 203 bytes of dynamic memory.
janjoh
Posts: 35
Joined: 23 Oct 2016 16:57

Re: SWITCH_MULTILEVEL shows up as Binary Sensor?

Post by janjoh »

And yes, I exclude / include after changing sketch
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: SWITCH_MULTILEVEL shows up as Binary Sensor?

Post by PoltoS »

Or you can turn debug mode.
janjoh
Posts: 35
Joined: 23 Oct 2016 16:57

Re: SWITCH_MULTILEVEL shows up as Binary Sensor?

Post by janjoh »

PoltoS wrote:Or you can turn debug mode.
Well, even if i upload this :

/*
* That is a Simple Blink Sketch. It just blinks the LED
*/

// LED pin number
#define LED_PIN 13

void setup() {
pinMode(LED_PIN, OUTPUT); // set LED pin as output
}

void loop() {
digitalWrite(LED_PIN, HIGH); // turn LED on
delay(1000); // wait for 1 second
digitalWrite(LED_PIN, LOW); // turn LED off
delay(5000); // wait for 1 second
}


The LED still blinks with 1000/1000ms of the original blink.
janjoh
Posts: 35
Joined: 23 Oct 2016 16:57

Re: [SOLVED] SWITCH_MULTILEVEL shows up as Binary Sensor?

Post by janjoh »

Actually.. Even if i unplug USB and run "upload with programmer", i get the exact same output. I guess i should get an error?
janjoh
Posts: 35
Joined: 23 Oct 2016 16:57

Re: [SOLVED] SWITCH_MULTILEVEL shows up as Binary Sensor?

Post by janjoh »

Uhm.. okay... works from another PC. This may be a USB incompatibility.

I apologize!
janjoh
Posts: 35
Joined: 23 Oct 2016 16:57

Re: [SOLVED] SWITCH_MULTILEVEL shows up as Binary Sensor?

Post by janjoh »

Works nicely enough now :)

https://youtu.be/88xIC6kgsOA
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: [SOLVED] SWITCH_MULTILEVEL shows up as Binary Sensor?

Post by PoltoS »

Cool! Would appreciate to get description (aim) of the project, few photos, sketch text, list of devices/components used, schematics and screenshots from HomeSeer for our project page.
perjar
Posts: 57
Joined: 08 Apr 2018 18:02

Re: [SOLVED] SWITCH_MULTILEVEL shows up as Binary Sensor?

Post by perjar »

Hi janjoh,

I am having the exact same problem, my z-uno appears as a binary sensor in my Fibaro Home Center 2 even if I only have dimmer associations set up. It works fine to associate devices the dimmer groups exposed by z-uno however which is a bit strange considering that the controller seems to think that it is a binary sensor.

I am also not getting the scene-triggers to work in a good way in HC2. If I create a scene using block scenes, the z-uno does not appear as a device which has scenes at all. However, in LUA code I can capture the scene triggers without any problems.

I can see the thread is marked as solved. How did you solve it?

Thanks in advance,
Post Reply