Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Mitja Blazinsek
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by Mitja Blazinsek

    • RE: Sensebender Micro

      SOLVED!!!!! it make me crazy but finally i found on forum
      @dallienl said in 💬 Building an Ethernet Gateway:

      Had lots of issues getting this to work. The issue seems to be with the ethernet part, as I only have an ethernet board attached I removed the lines for the radio and the pin redirection. Still the code kept restarting all the time or just not being able to connect the controller.

      AVR version of the Arduino 1.8.0 kit needs to be downgraded. I had 1.6.16 and downgraded to 1.6.11.

      Open Arduino. Tools > Board: xxxxx > Boards manager... > Click "Arduino AVR Boards" > Select Version > 1.6.11

      Recompile and you are good.

      so i had to downgraded AVR version of the Arduino 1.8.0 kit and thats it 🙂 i knew its smothing in arduino IDE

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro
      	Feb 01, 2018 06:11:30 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-56-56,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
      	Feb 01, 2018 06:11:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
      	Feb 01, 2018 06:11:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
      	Feb 01, 2018 06:11:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=56
      	Feb 01, 2018 06:11:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
      	Feb 01, 2018 06:11:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,56-56-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      	Feb 01, 2018 06:11:28 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-56-56,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
      	Feb 01, 2018 06:11:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
      	Feb 01, 2018 06:11:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
      	Feb 01, 2018 06:11:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=56
      	Feb 01, 2018 06:11:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
      	Feb 01, 2018 06:11:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,56-56-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      	Feb 01, 2018 06:11:26 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-56-56,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
      	Feb 01, 2018 06:11:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
      	Feb 01, 2018 06:11:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
      	Feb 01, 2018 06:11:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=56
      	Feb 01, 2018 06:11:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
      	Feb 01, 2018 06:11:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,56-56-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      	Feb 01, 2018 06:11:24 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-56-56,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
      	Feb 01, 2018 06:11:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
      	Feb 01, 2018 06:11:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK
      	Feb 01, 2018 06:11:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:PNG:SEND,TO=0
      	Feb 01, 2018 06:11:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=56
      	Feb 01, 2018 06:11:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC```
      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro
      16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.2.0
      25 TSM:INIT
      26 TSF:WUR:MS=0
      33 TSM:INIT:TSP OK
      35 TSF:SID:OK,ID=56
      37 TSM:FPAR
      73 TSF:MSG:SEND,56-56-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      2081 !TSM:FPAR:NO REPLY
      2083 TSM:FPAR
      2119 TSF:MSG:SEND,56-56-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      4127 !TSM:FPAR:NO REPLY
      4129 TSM:FPAR
      4165 TSF:MSG:SEND,56-56-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      6173 !TSM:FPAR:NO REPLY
      6175 TSM:FPAR
      6211 TSF:MSG:SEND,56-56-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      8219 !TSM:FPAR:FAIL
      8220 TSM:FAIL:CNT=1
      8222 TSM:FAIL:DIS
      8224 TSF:TDI:TSL
      18226 TSM:FAIL:RE-INIT```
      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      ok my gw now work sorry i forget to connect radio vcc ☺ but everything else not working every sensor i try triple check wiring bothing 😡

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      look like everything that i programmed not working about half years ago when i start with my sensors everything that i try work bu when i have time to play with mysensors again nothing worked make me crazy i have full box of sensors and boards but nothing cant get to work only sensbender gw and sensbender micro that i didn't touch i think that must be something with arduino ide

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      now even sensbender micro that it work on sensbender gw don't work on my gw it work only if i connect sensbender gw
      0_1517488112114_Untitled1.jpg

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      i try new serial gw on nano but same problem i delete all nodes and when i turn on some sensors my controller find it only one node without name. My only working sensor (one of the woking sensebender out the box) display 2 nodes one without name and node with sensebender micro name what for is that first node ID 0
      screen shot how it display every sensor:
      0_1517487241245_Untitled.jpg

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      i just try this and its same
      is it possible that is anythig with gw i'm using official sensebender gw

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      reinstal arduino, libary, clear eprom nothing gonna lose my mind i think i'm gonna throw everything in trash 😡

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      i did all this i try even downgrade my sensor library and its same the interest thing that even other boards not working (arduino nano) a had some assembled and programmed nano that i play with about 6month ago and it work fine, then try to upload relay code on it and nothing everything (didn't touch wiring) i try to program it doesn't work even if it was working before, so i think it must be something with my arduino ide

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      is it possible that si some problem with my arduino IDE maybe some library tomorrow i will try to reinstall arduino

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      yust plug in socket on sensbender micro

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: 💬 Relay

      OK it's probaly because ia have mini with 168 chip i have to buys 328 😞 again wait 1month to arive from china

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: 💬 Relay

      Arduino: 1.8.1 (Windows 7), Board: "Arduino Pro or Pro Mini, ATmega168 (5V, 16 MHz)"

      In file included from c:\users\mitja\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,

                   from c:\users\mitja\appdata\local\arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\pgmspace.h:90,
      
                   from C:\Users\mitja\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino/Arduino.h:28,
      
                   from sketch\button_relay.ino.cpp:1:
      

      C:\Users\mitja\Documents\Arduino\libraries\MySensors/hal/architecture/AVR/MyHwAVR.cpp: In function 'bool hwUniqueID(uint8_t (*)[16])':

      C:\Users\mitja\Documents\Arduino\libraries\MySensors/hal/architecture/AVR/MyHwAVR.cpp:246:26: error: 'SIGRD' was not declared in this scope

      ((uint8_t)uniqueID) = boot_signature_byte_get(0x00);

                            ^
      

      C:\Users\mitja\Documents\Arduino\libraries\MySensors/hal/architecture/AVR/MyHwAVR.cpp:247:30: error: 'SIGRD' was not declared in this scope

      ((uint8_t)uniqueID + 1) = boot_signature_byte_get(0x02);

                                ^
      

      C:\Users\mitja\Documents\Arduino\libraries\MySensors/hal/architecture/AVR/MyHwAVR.cpp:248:30: error: 'SIGRD' was not declared in this scope

      ((uint8_t)uniqueID + 2) = boot_signature_byte_get(0x04);

                                ^
      

      C:\Users\mitja\Documents\Arduino\libraries\MySensors/hal/architecture/AVR/MyHwAVR.cpp:249:30: error: 'SIGRD' was not declared in this scope

      ((uint8_t)uniqueID + 3) = boot_signature_byte_get(0x01); //OSCCAL

                                ^
      

      Multiple libraries were found for "Bounce2.h"
      Used: C:\Users\mitja\Documents\Arduino\libraries\Bounce2
      Not used: C:\Users\mitja\Documents\Arduino\libraries\Bounce2-master
      exit status 1
      Error compiling for board Arduino Pro or Pro Mini.

      This report would have more information with
      "Show verbose output during compilation"
      option enabled in File -> Preferences.

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: 💬 Door, Window and Push-button Sensor

      https://forum.mysensors.org/topic/7249/simple-binary-switch-example-trying-to-add-second-switch

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: 💬 Relay

      why i can't compile for arduino pro mini on other boards i can upload

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      i try at least three different radios with and without capacitors gw an sensors are close (20cm) and like i said sensbender worked fine till i try to upload program on it

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      but why fail i upload officially sketches from my sensors also try same radio from sensebender that works also try blink test on sensebender and it works so what else could be i have everything latest version my controler mysensor libary...

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      couldn't be radio second sensebender micro working fin bu that micro is out of the box didn't touch em fist one that i was programming with officially code don't work anymore also nano that i programm default Door/Window/Button and relay sketch on it bouth doesent work since i was start programing i realy dont know anymore try ewerything but mycontroler dont show nothing anymore no senors no nodes except original sensebender micro

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro
      Jan 30, 2018 05:00:30 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
      	Jan 30, 2018 05:00:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
      	Jan 30, 2018 05:00:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
      	Jan 30, 2018 05:00:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=15
      	Jan 30, 2018 05:00:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
      	Jan 30, 2018 05:00:29 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      	Jan 30, 2018 05:00:28 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
      	Jan 30, 2018 05:00:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
      	Jan 30, 2018 05:00:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
      	Jan 30, 2018 05:00:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=15
      	Jan 30, 2018 05:00:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
      	Jan 30, 2018 05:00:27 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      	Jan 30, 2018 05:00:26 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
      	Jan 30, 2018 05:00:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
      	Jan 30, 2018 05:00:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
      	Jan 30, 2018 05:00:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=15
      	Jan 30, 2018 05:00:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
      	Jan 30, 2018 05:00:25 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      	Jan 30, 2018 05:00:24 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
      	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
      	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK
      	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:PNG:SEND,TO=0
      	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=15
      	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
      	Jan 30, 2018 05:00:23 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      	Jan 30, 2018 05:00:14 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      	Jan 30, 2018 05:00:14 PM	Notice	Gateway	 mysensors	Sent	Internal	[Discover]
      	Jan 30, 2018 05:00:12 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] !TSF:MSG:SEND,0-0-15-15,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
      	Jan 30, 2018 05:00:11 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
      	Jan 30, 2018 05:00:11 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
      	Jan 30, 2018 05:00:11 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=15
      	Jan 30, 2018 05:00:11 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
      	Jan 30, 2018 05:00:11 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0:```
      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      why mycontroller don't register node and sensor if he receive message

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro
      Jan 30, 2018 04:46:45 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:GWL OK
      Jan 30, 2018 04:46:45 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:CKU:OK,FCTRL
      Jan 30, 2018 04:46:45 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:FPAR REQ,ID=15
      Jan 30, 2018 04:46:45 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:BC
      Jan 30, 2018 04:46:45 PM	Notice	Node	 mysensors   0	Received	Internal	[Log message] TSF:MSG:READ,15-15-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.2.0
      25 TSM:INIT
      26 TSF:WUR:MS=0
      33 TSM:INIT:TSP OK
      35 TSM:INIT:STATID=15
      37 TSF:SID:OK,ID=15
      39 TSM:FPAR
      75 TSF:MSG:SEND,15-15-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      2082 !TSM:FPAR:NO REPLY
      2084 TSM:FPAR

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      can anyone help me every sensor it work fine first time in mycontroler but but when i reprogram it with same code it doesn't register anymore in my controller like i remember i have this same problem about year ago with binary switch bu i can't remember what was solution for problem that why sensebender micro doesn't work i just try hum. sensor with nano working fine after reprogram with same code my controller doesn't recognize anymore 😞 do i have clear anything in my controller i already try to delete node and sensor but no affect

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      it work when i try button example, had no diode at the hand

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      nothing happened just upload blink code but no blinking 😞

      // the setup function runs once when you press reset or power the board
      void setup() {
        // initialize digital pin LED_BUILTIN as an output.
        pinMode(LED_BUILTIN, OUTPUT);
      }
      
      // the loop function runs over and over again forever
      void loop() {
        digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
        delay(1000);                       // wait for a second
        digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
        delay(1000);                       // wait for a second
      }```
      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      sory still not workinkg i was thinking that i solve the problem but i didn't now i was try to connect other sensebender micro and it's working with no problem and i noticed that the red led flash on micro when i connect power i dont se that led on previous not working micro is it possible that i burn micro when programming, bu ti upload program with no problems i also had 3,3V jumper on the programer 😞

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      OK i found the problem i just needed to clear the eeprom and it works i remembered that i had this problem before with binary switch sample

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      but before it was working im using sensebender gateway and i see node in controler, i update my sensors and still nothing

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Sensebender Micro

      i have some problems with sensbender micro it all work fine it shows temp and hum in mycontroller bu then i try to program the board to test my FTDI programmer, for test i was try to upload default sketch but since then it showing me only node in mycontroller without any sensors 😞

      this is my log from debug:

      0 MCO:BGN:INIT NODE,CP=RNONA--,VER=2.1.1
      4 TSM:INIT
      4 TSF:WUR:MS=0
      12 TSM:INIT:TSP OK
      14 TSF:SID:OK,ID=5
      16 TSM:FPAR
      53 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      2062 !TSM:FPAR:NO REPLY
      2064 TSM:FPAR
      2101 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      4110 !TSM:FPAR:NO REPLY
      4112 TSM:FPAR
      4149 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      6158 !TSM:FPAR:NO REPLY
      6160 TSM:FPAR
      6197 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      8206 !TSM:FPAR:FAIL
      8208 TSM:FAIL:CNT=1
      8210 TSM:FAIL:PDT
      18214 TSM:FAIL:RE-INIT
      18216 TSM:INIT
      18225 TSM:INIT:TSP OK
      18227 TSF:SID:OK,ID=5
      18229 TSM:FPAR

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: 💬 Sensebender Gateway

      im trying to program in arduino ide, installed board... bu when compiling it write mi an error 'The current selected board needs the core 'arduino:arduino' that is not installed.'

      posted in OpenHardware.io
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: 💬 Infrared Sender and Receiver

      ok i record ir code 240E4F17 from my AC remote hov can i sent this code from my controler to IR node and request from node to sent that code (on/off) AC i was trying with raw mesage but i dot know what to send (Type/ Sub type , Acknowledge/ Payload)

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Simple binary switch example, trying to add second switch

      thank you very much boots33 and mfalkvidd finaly wor also learn a lot on this example, its time now to try with relays i will add 2 relays that i can triger with switch or controler

      my working code for switch:

      /**
         The MySensors Arduino library handles the wireless radio link and protocol
         between your home built sensors/actuators and HA controller of choice.
         The sensors forms a self healing radio network with optional repeaters. Each
         repeater and gateway builds a routing tables in EEPROM which keeps track of the
         network topology allowing messages to be routed to nodes.
      
         Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
         Copyright (C) 2013-2015 Sensnology AB
         Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors
      
         Documentation: http://www.mysensors.org
         Support Forum: http://forum.mysensors.org
      
         This program is free software; you can redistribute it and/or
         modify it under the terms of the GNU General Public License
         version 2 as published by the Free Software Foundation.
      
       *******************************
      
         DESCRIPTION
      
         Simple binary switch example updated  for 2 switches
         Connect button or door/window reed switch between
         digitial I/O pin 3 (BUTTON_PIN below) and GND.
         http://www.mysensors.org/build/binary
      */
      
      
      // Enable debug prints to serial monitor
      #define MY_DEBUG
      
      // Enable and select radio type attached
      #define MY_RADIO_NRF24
      //#define MY_RADIO_RFM69
      
      #include <SPI.h>
      #include <MySensors.h>
      #include <Bounce2.h>
      
      #define CHILD_ID_ST1 3
      #define CHILD_ID_ST2 4
      #define ST1_PIN  3  // Arduino Digital I/O pin for button/reed switch
      #define ST2_PIN  4
      Bounce debouncer1 = Bounce();
      Bounce debouncer2 = Bounce();
      int oldValue = -1;
      int oldValue1 = -1;
      // Change to V_LIGHT if you use S_LIGHT in presentation below
      MyMessage msgst1(CHILD_ID_ST1, V_TRIPPED);
      MyMessage msgst2(CHILD_ID_ST2, V_TRIPPED);
      void setup()
      {
        // Setup the button1
        pinMode(ST1_PIN, INPUT);
        debouncer1.attach(ST1_PIN);
        debouncer1.interval(5);
        digitalWrite(ST1_PIN, HIGH);
        // Setup the button2
        pinMode(ST2_PIN, INPUT);
        debouncer2.attach(ST2_PIN);
        debouncer2.interval(5);
        digitalWrite(ST2_PIN, HIGH);
      }
      
      void presentation() {
        // Register binary input sensor to gw (they will be created as child devices)
        // You can use S_DOOR, S_MOTION or S_LIGHT here depending on your usage.
        // If S_LIGHT is used, remember to update variable type you send in. See "msg" above.
        present(CHILD_ID_ST1, S_DOOR);
        present(CHILD_ID_ST2, S_DOOR);
      }
      
      
      //  Check if digital input has changed and send in new value
      void loop()
      {
        debouncer1.update();
        // Get the update value
        int value = debouncer1.read();
      
        if (value != oldValue) {
          // Send in the new value
          send(msgst1.set(value == HIGH ? 1 : 0));
          oldValue = value;
        }
      
        debouncer2.update();
        // Get the update value
        int value1 = debouncer2.read();
      
        if (value1 != oldValue1) {
          // Send in the new value
          send(msgst2.set(value1 == HIGH ? 1 : 0));
          oldValue1 = value1;
        }
      
      
      }
      
      posted in Troubleshooting
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Simple binary switch example, trying to add second switch

      i try to change that but again i'm doing something wrong now it change it constantly both state when i pressed any button

      /**
       * The MySensors Arduino library handles the wireless radio link and protocol
       * between your home built sensors/actuators and HA controller of choice.
       * The sensors forms a self healing radio network with optional repeaters. Each
       * repeater and gateway builds a routing tables in EEPROM which keeps track of the
       * network topology allowing messages to be routed to nodes.
       *
       * Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
       * Copyright (C) 2013-2015 Sensnology AB
       * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors
       *
       * Documentation: http://www.mysensors.org
       * Support Forum: http://forum.mysensors.org
       *
       * This program is free software; you can redistribute it and/or
       * modify it under the terms of the GNU General Public License
       * version 2 as published by the Free Software Foundation.
       *
       *******************************
       *
       * DESCRIPTION
       *
       * Simple binary switch example 
       * Connect button or door/window reed switch between 
       * digitial I/O pin 3 (BUTTON_PIN below) and GND.
       * http://www.mysensors.org/build/binary
       */
      
      
      // Enable debug prints to serial monitor
      #define MY_DEBUG 
      
      // Enable and select radio type attached
      #define MY_RADIO_NRF24
      //#define MY_RADIO_RFM69
      
      #include <SPI.h>
      #include <MySensors.h>
      #include <Bounce2.h>
      
      #define CHILD_ID_ST1 3
      #define CHILD_ID_ST2 4
      #define ST1_PIN  4  // Arduino Digital I/O pin for button/reed switch
      #define ST2_PIN  3
      Bounce debouncer1 = Bounce(); 
      Bounce debouncer2 = Bounce();
      int oldValue=-1;
      
      // Change to V_LIGHT if you use S_LIGHT in presentation below
      MyMessage msgst1(CHILD_ID_ST1,V_TRIPPED);
      MyMessage msgst2(CHILD_ID_ST2,V_TRIPPED);
      void setup()  
      {  
        // Setup the button
        pinMode(ST1_PIN,INPUT);
        pinMode(ST2_PIN,INPUT);
        // Activate internal pull-up
        digitalWrite(ST1_PIN,HIGH);
        digitalWrite(ST2_PIN,HIGH);
        // After setting up the button, setup debouncer
        debouncer1.attach(ST1_PIN);
        debouncer2.attach(ST2_PIN);
        debouncer1.interval(5);
          debouncer2.interval(5);
      }
      
      void presentation() {
        // Register binary input sensor to gw (they will be created as child devices)
        // You can use S_DOOR, S_MOTION or S_LIGHT here depending on your usage. 
        // If S_LIGHT is used, remember to update variable type you send in. See "msg" above.
        present(CHILD_ID_ST1, S_DOOR); 
        present(CHILD_ID_ST2, S_DOOR);    
      }
      
      
      //  Check if digital input has changed and send in new value
      void loop() 
      {
        debouncer1.update();
        // Get the update value
        int value = debouncer1.read();
      
        if (value != oldValue) {
           // Send in the new value
           send(msgst1.set(value==HIGH ? 1 : 0));
           oldValue = value;
        }
        debouncer2.update();
        // Get the update value
        int value2 = debouncer2.read();
          
        if (value2 != oldValue) {
           // Send in the new value
           send(msgst2.set(value2==HIGH ? 1 : 0));
           oldValue = value2;
        }
      }```
      posted in Troubleshooting
      Mitja Blazinsek
      Mitja Blazinsek
    • Simple binary switch example, trying to add second switch

      Hello! Firs i'm newbie to arduino and my sensors so please don't be mad on me in know that is for you guys probably basic of arduino coding.
      so i tok the basic exsample of Simple binary switch example and try to add one more switch but i think i have some problem with bounce function because it work only one switch CHILD_ID_ST2 on the code below
      Thanks for any help! Probable master can solve that problem in couple of minutes 🙂 it bother me 2 days 🙂

      /**
       * The MySensors Arduino library handles the wireless radio link and protocol
       * between your home built sensors/actuators and HA controller of choice.
       * The sensors forms a self healing radio network with optional repeaters. Each
       * repeater and gateway builds a routing tables in EEPROM which keeps track of the
       * network topology allowing messages to be routed to nodes.
       *
       * Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
       * Copyright (C) 2013-2015 Sensnology AB
       * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors
       *
       * Documentation: http://www.mysensors.org
       * Support Forum: http://forum.mysensors.org
       *
       * This program is free software; you can redistribute it and/or
       * modify it under the terms of the GNU General Public License
       * version 2 as published by the Free Software Foundation.
       *
       *******************************
       *
       * DESCRIPTION
       *
       * Simple binary switch example 
       * Connect button or door/window reed switch between 
       * digitial I/O pin 3 (BUTTON_PIN below) and GND.
       * http://www.mysensors.org/build/binary
       */
      
      
      // Enable debug prints to serial monitor
      #define MY_DEBUG 
      
      // Enable and select radio type attached
      #define MY_RADIO_NRF24
      //#define MY_RADIO_RFM69
      
      #include <SPI.h>
      #include <MySensors.h>
      #include <Bounce2.h>
      
      #define CHILD_ID_ST1 3
      #define CHILD_ID_ST2 4
      #define ST1_PIN  4  // Arduino Digital I/O pin for button/reed switch
      #define ST2_PIN  3
      Bounce debouncer = Bounce(); 
      int oldValue=-1;
      
      // Change to V_LIGHT if you use S_LIGHT in presentation below
      MyMessage msgst1(CHILD_ID_ST1,V_TRIPPED);
      MyMessage msgst2(CHILD_ID_ST2,V_TRIPPED);
      void setup()  
      {  
        // Setup the button
        pinMode(ST1_PIN,INPUT);
        pinMode(ST2_PIN,INPUT);
        // Activate internal pull-up
        digitalWrite(ST1_PIN,HIGH);
        digitalWrite(ST2_PIN,HIGH);
        // After setting up the button, setup debouncer
        debouncer.attach(ST1_PIN);
        debouncer.attach(ST2_PIN);
        debouncer.interval(5);
      }
      
      void presentation() {
        // Register binary input sensor to gw (they will be created as child devices)
        // You can use S_DOOR, S_MOTION or S_LIGHT here depending on your usage. 
        // If S_LIGHT is used, remember to update variable type you send in. See "msg" above.
        present(CHILD_ID_ST1, S_DOOR); 
        present(CHILD_ID_ST2, S_DOOR);    
      }
      
      
      //  Check if digital input has changed and send in new value
      void loop() 
      {
        debouncer.update();
        // Get the update value
        int value = debouncer.read();
      
        if (value != oldValue) {
           // Send in the new value
           send(msgst1.set(value==HIGH ? 1 : 0));
           oldValue = value;
        }
        if (value != oldValue) {
           // Send in the new value
           send(msgst2.set(value==HIGH ? 1 : 0));
           oldValue = value;
        }
      }```
      posted in Troubleshooting
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Remote Access

      it works now i disabled https, and it works fine thanks folks for help 🙂

      posted in MyController.org
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Remote Access

      still no success try chane the ports, shoul i chane anything else in config file like bind ip my settings in config file is:

      mcc.web.bind.address=0.0.0.0
      mcc.web.enable.https=true
      mcc.web.http.port=8181
      mcc.web.file.location=../www/
      mcc.web.ssl.keystore.file=../conf/keystore.jks
      mcc.web.ssl.keystore.password=mycontroller
      mcc.web.ssl.keystore.type=JKS

      posted in MyController.org
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Remote Access

      i try with and without https, i'm using chrome but also try explorer as i said domoticz work fine

      posted in MyController.org
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: Remote Access

      any idea why i can't acess mycontroler from internet i was opening port 8443 for computer on which controller are running but still not open browser said ERR_INVALID_HTTP_RESPONSE, i was try to run domoticz controller and have no problem to accessing it from internet

      posted in MyController.org
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: 💬 Building an Ethernet Gateway

      is it maybe problem because i'm using mega board an i wired 50 51 52 pins but if i wired 11 12 13 like on the diagram here it not working the shield if i try dhcp address printer for test

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: 💬 Building an Ethernet Gateway

      ok ip of mycontroler is 192.168.0.100

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: 💬 Building an Ethernet Gateway

      my network is using 192.168.0 but i try to change the MY_IP_ADDRESS to 192.168.0.66 but still no responese. i dont know what is the ip of mycontroler it works only when ia write localhost:8443 i of domoticz was 127.0.0.1

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: 💬 Building an Ethernet Gateway

      hi after long time i finaly get new w5100 module now the test sketch from arduino ide for ethernet like web server are working fine bur still don't work as a gateway in domoticz or mycontroler. i just open example gatewayw5100 from my sensor libary and upload to mega bard bit status in my controler is always down af course i set the gateway in my controler :Enabled
      Enabled
      Type
      Ethernet
      Network type
      MySensors
      Connection details
      Host:192.168.178.66, Port:5003
      Status
      Down
      Status since
      7 minutes ago
      Status message
      ERROR: connect timed out

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: 💬 Building an Ethernet Gateway

      i'm sure it's w5100 it's label on chip
      https://goo.gl/photos/xkr326Zrjgom2Ko57

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: 💬 Building an Ethernet Gateway

      look like the Chinese shield is crap i try to test the web server example and nothing displayed

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: 💬 Building an Ethernet Gateway

      probably dumb question but where can i found any sketch to test the shield i tried ethernet examples from arduino ide but dont know how to connect the right pins it just said like: (Ethernet shield attached to pins 10, 11, 12, 13)

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek
    • RE: 💬 Building an Ethernet Gateway

      i'm using w5100 and mega, checking wiring 10 times and successfully uploaded code didn't change anything in code just copy paste but it seem like is not working i installed domoticz controller and it log to me
      2017-04-17 21:51:38.438 Error: MySensors: Can not connect to: 192.168.178.66:5003
      2017-04-17 21:51:38.438 TCP: Connection problem (Unable to connect to specified IP/Port)
      Also i can't see any new client in router client table, rx led is blinking but tx led on w5100 is always off
      can anyone tell me how can i see if gw is working, i don't know is the problem on controller or hw? and how can i fix the problem?
      THX for any help, and excuse for my english please 😉

      posted in Announcements
      Mitja Blazinsek
      Mitja Blazinsek