Navigation

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

    Posts made by ch3b7

    • RE: ATMega32u4 + RFM69 + MySensors = Working!?

      You can use a cheap usb to rs232 like "CH340G"

      posted in Hardware
      ch3b7
      ch3b7
    • RE: Speech recognition

      I use a phone with autoapps + autovoice + send/expect, to send tcp commands to a server and make and actions for each command received, im use a MOTO X with an a controller maked by me and work good. Sorry for my bad english im from argentina

      posted in Hardware
      ch3b7
      ch3b7
    • RE: EthernetGateway - Radio init fail

      replace with this and try

      MyTransportNRF24 transport(RADIO_CE_PIN,RADIO_SPI_SS_PIN, RF24_PA_LEVEL_GW);

      posted in Troubleshooting
      ch3b7
      ch3b7
    • RE: MyNetSensors (closed)

      what visual studio version? im make a controller in .net with visual studio 2010

      posted in MyNodes.NET
      ch3b7
      ch3b7
    • RE: Understanding the message

      @diggs to hide this 0,0,3,0,9 you need disable "#define DEBUG" replace with "//#define DEBUG" in libraries\MySensors\MyConfig.h and then upload sketch again

      posted in General Discussion
      ch3b7
      ch3b7
    • RE: Understanding the message

      see this post

      posted in General Discussion
      ch3b7
      ch3b7
    • Debug in Ethernet Gateway

      I have a question! I enable debugging in myconfig.h, I can view the log in the serial monitor from Arduino Uno + Wiznet but the MYSController not recive the log information connected to ethernet gateway, but, yes through the serial port.
      can i change any to get the log information through ethernet too? or i miss something??

      THANK YOU!

      posted in Troubleshooting
      ch3b7
      ch3b7
    • RE: getConfig().isMetric not updated correctly

      i think you need add ||| metric = gw.getConfig().isMetric; ||| in void setup and declare ||| boolean metric = true; |||

      posted in Bug Reports
      ch3b7
      ch3b7
    • RE: Test your home made controller with MockMySensors (w/ tutorial)

      @awi can you upload the fixed SKETCH ?? pls! thank you!!

      posted in Controllers
      ch3b7
      ch3b7
    • RE: Test your home made controller with MockMySensors (w/ tutorial)

      @barduino

      sorry your sketch work good! the problem im have is with the @AWI example!

      @AWI

      all sensors present good but when finish i get a loop sended:

      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0

      posted in Controllers
      ch3b7
      ch3b7
    • RE: Test your home made controller with MockMySensors (w/ tutorial)

      all sensors present good but when finish i get a loop sended:

      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0
      send: 50-50-0-0 s=0,c=1,t=16,pt=7,l=5,sg=0,st=ok:0.0

      im use (lib 1.5) MockMySensors.ino

      posted in Controllers
      ch3b7
      ch3b7
    • RE: Uno+ethernet shield = radio init fail [solved]

      I have the same problem!! I think is a problem with the new library!! With the 1.4.2 works good!!

      posted in Troubleshooting
      ch3b7
      ch3b7
    • RE: Windows GUI/Controller for MySensors

      @rickmontana83 parse the data from the serial port is easy, im put in other post in this forum with a part of my code in vb.net

      posted in Controllers
      ch3b7
      ch3b7
    • RE: Connect to gateway using VB.NET

      im make a vb.net controller im try to help you with some code

      declare

      Public Swriter As StreamWriter
      Public Client As New TcpClient
      Public ClientStream As NetworkStream

      to send data use

      ClientStream = Client.GetStream()
      ClientStream.Flush()
      Swriter = New StreamWriter(ClientStream)
      Swriter.WriteLine(deviceid & ";" & sensorchildid & ";" & msgType & ";" & ack & ";" & subType & ";" & payload)
      Swriter.Flush()

      if you need more help tell me im try to help ^^

      posted in Troubleshooting
      ch3b7
      ch3b7
    • RE: Connect to gateway using VB.NET

      Use streamreader and streamwrite to read and send data over the networkstream

      posted in Troubleshooting
      ch3b7
      ch3b7
    • RE: Connect to gateway using VB.NET

      You dont need send newline

      posted in Troubleshooting
      ch3b7
      ch3b7
    • RE: Windows GUI/Controller for MySensors

      You add ethernet support? Im add ethernet support in my program in .net its work good.

      posted in Controllers
      ch3b7
      ch3b7
    • RE: Windows GUI/Controller for MySensors

      You need upload the serialgateway sketch to the arduino connected with the nrf24 the n connect the usb to pc and select the correct com port in the program

      posted in Controllers
      ch3b7
      ch3b7
    • RE: Ethernet GW how know?

      @olaeke yes the softspi is enable. If upload from the pc the radio work

      posted in Troubleshooting
      ch3b7
      ch3b7
    • RE: Windows GUI/Controller for MySensors

      Any source code?

      posted in Controllers
      ch3b7
      ch3b7
    • Ethernet GW how know?

      im have a question about ethernet gw. im buy one to test with my own controller in .net but when iupload the code i dont know if work or not., if upload from the mysensors page im get check wires, if upload from my pc im view in the serial monitor "Gateway startup complete" and start showing the recieved data from other sensors. but the ethernet work?? i cant connect from my custom controller

      posted in Troubleshooting
      ch3b7
      ch3b7
    • RE: Otabootloader upload ?

      now it works ^^ thanks!

      posted in Development
      ch3b7
      ch3b7
    • RE: Otabootloader upload ?

      @tekka said:

      @ch3b7 download and save from here.

      thanks. now i not get the error but i cant upload sketch

      posted in Development
      ch3b7
      ch3b7
    • RE: Otabootloader upload ?

      im downloaded from here link text im try to copy manually

      posted in Development
      ch3b7
      ch3b7
    • RE: Otabootloader upload ?

      @daulagari said:

      What kind of error do you get?

      this error:

      avrdude: WARNING: no end of file record found for Intel Hex file "G:\arduino-1.0.5-r2\hardware\arduino\bootloaders\MySensorsOTA\MyOtaBootloader.hex"
      avrdude: WARNING: no end of file record found for Intel Hex file "G:\arduino-1.0.5-r2\hardware\arduino\bootloaders\MySensorsOTA\MyOtaBootloader.hex"

      posted in Development
      ch3b7
      ch3b7
    • RE: Otabootloader upload ?

      @tekka dont work for me

      posted in Development
      ch3b7
      ch3b7
    • Otabootloader upload ?

      I can upload the bootloader using Arduino as ISP ? who i need add in a board.txt?

      im use this but give an error
      #######################################
      Mysensors.name=[Mysensors OTA] Arduino Uno
      Mysensors.upload.protocol=arduino
      Mysensors.upload.maximum_size=32256
      Mysensors.upload.speed=115200
      Mysensors.bootloader.low_fuses=0xff
      Mysensors.bootloader.high_fuses=0xde
      Mysensors.bootloader.extended_fuses=0x05
      Mysensors.bootloader.path=MySensorsOTA
      Mysensors.bootloader.file=MyOtaBootloader.hex
      Mysensors.bootloader.unlock_bits=0x3F
      Mysensors.bootloader.lock_bits=0x0F
      Mysensors.build.mcu=atmega328p
      Mysensors.build.f_cpu=16000000L
      Mysensors.build.core=arduino
      Mysensors.build.variant=standard
      #####################################

      posted in Development
      ch3b7
      ch3b7
    • RE: Connecting sensor to gateway via RS485 instead of nRF24

      http://sourceforge.net/p/arduino-icsc/wiki/RS-485/ this is a good library to start! now im stuck with ethernet controller in my program in .net at now i cant see any string but the gateway work good ¬¬ i need more time ^^

      posted in Development
      ch3b7
      ch3b7
    • RE: Connecting sensor to gateway via RS485 instead of nRF24

      See this https://www.kickstarter.com/projects/1370454848/chainduino

      posted in Development
      ch3b7
      ch3b7
    • RE: SerialGateway Output

      In the arduino serial monitor put 255;255;3;0;4;X where x is a number 1-254

      posted in Troubleshooting
      ch3b7
      ch3b7
    • RE: Windows GUI/Controller for MySensors

      yes but at now im not have a ethernet shield right now =( and i need to work with the optiboot/OTA bootloader part and dont know where find that part "request" "send" all that info. sorry my bad english im from argentina.!

      posted in Controllers
      ch3b7
      ch3b7
    • RE: Windows GUI/Controller for MySensors

      Good work man! im make a controller in .net!

      http://clip2net.com/s/3aGJdvY

      posted in Controllers
      ch3b7
      ch3b7
    • RE: MySensors Serial Gateway minimal example to send data

      you try send with the arduino terminal?

      posted in Troubleshooting
      ch3b7
      ch3b7
    • RE: MySensors Serial Gateway minimal example to send data

      try to send with ack "3;0;1;1;3;5" and see if the node response, im have the same sketch with led and only with value more than 70% the led turn on other value still off

      posted in Troubleshooting
      ch3b7
      ch3b7
    • RE: Send time request over arduino "monitor serial"

      HERE my source code my-sensors-controller-net

      posted in Development
      ch3b7
      ch3b7
    • RE: Send time request over arduino "monitor serial"

      THANKS for your help!!

      posted in Development
      ch3b7
      ch3b7
    • RE: Send time request over arduino "monitor serial"

      WORK! im get "1420578901" ^^ thanks HEK!

      im have other question about the light actuator with a button, i send the command to tun on/off its works, but can the node can send again the new state when received the turn on/off command? sorry for my bad english im from argentina^^ im needed to update the state in my controller and know if the command sended work.

      this work but when i press the button the controller send 2 sets commands

      **void incomingMessage(const MyMessage &message) {
      // We only expect one type of message from controller. But we better check anyway.
      if (message.isAck()) {
      Serial.println("This is an ack from gateway");
      }
      if (message.type == V_LIGHT) {
      // Change relay state
      state = message.getBool();
      digitalWrite(RELAY_PIN, state?RELAY_ON:RELAY_OFF);
      // Store state in eeprom
      gw.saveState(CHILD_ID, state);
      // Write some debug info
      Serial.print("Incoming change for sensor:");
      Serial.print(message.sensor);
      Serial.print(", New status: ");
      Serial.println(message.getBool());
      gw.send(msg.set(state), false); // Send new state and request ack back
      } **

      posted in Development
      ch3b7
      ch3b7
    • RE: Send time request over arduino "monitor serial"

      thanks, the problem is i dont know who is "<seconds since 1970> any example? im use a custom controller.

      posted in Development
      ch3b7
      ch3b7
    • RE: Send time request over arduino "monitor serial"

      how, who need send?? or an example

      posted in Development
      ch3b7
      ch3b7
    • RE: Send time request over arduino "monitor serial"

      when the node send "gw.requestTime(receiveTime); " i cant answer from arduino monitor serial no?

      posted in Development
      ch3b7
      ch3b7
    • RE: Send time request over arduino "monitor serial"

      thanks man!

      posted in Development
      ch3b7
      ch3b7
    • Send time request over arduino "monitor serial"

      How can i send a time request ?? " over monitor serial in arduino ...

      1;255;3;0;1;14:55:30 06/01/2015" something like this??

      thanks! im finally complete the most part of my windows controller in .net ^^

      posted in Development
      ch3b7
      ch3b7
    • RE: Serial terminal

      Hi! Im make a programm like this in vb.net but i cant send serial data to the controller via USB and i cant see any incoming data. you change any in the gateway sketch?

      posted in Controllers
      ch3b7
      ch3b7
    • RE: Turn On/Off relay in windows 7

      Im install the gateway sketch and Yes if i put.the.command.in the serial monitor work turning on off a led in the sensor i have but without a 0 for ack like this "2;1;1;3;2;1\n" Im use the example this "echo " (command)\n" > comXX and this config
      mode com[NUMBER] BAUD=115200 PARITY=n DATA=8 STOP=1

      posted in Development
      ch3b7
      ch3b7
    • RE: Turn On/Off relay in windows 7

      I need change something in the gateway? The gw read the serial imput from the usb? I try with the 0 but nothing

      posted in Development
      ch3b7
      ch3b7
    • RE: Turn On/Off relay in windows 7

      no work =( i send "2;1;1;3;2;1\n" (turn on relay)

      posted in Development
      ch3b7
      ch3b7
    • RE: Turn On/Off relay in windows 7

      @jendrush thanks for reply! I know this method but i need not use the arduino serial monitor im try to make a program send throught serial but the gateway dont listen the serial input from the usb

      posted in Development
      ch3b7
      ch3b7
    • Turn On/Off relay in windows 7

      Any know how i can turn off/on a relay sensor sending a command from windows to the gw connected with usb? Using a program, script, etc? I cant buy a Rpi or Vera =( im use 1.4b

      Thanks all!

      posted in Development
      ch3b7
      ch3b7
    • RE: Send serial data to vb.net to gw (usb connected)

      serial-usb adapter?

      posted in Development
      ch3b7
      ch3b7
    • RE: Send serial data to vb.net to gw (usb connected)

      Im use 1.4b. If a sensor ask for id and i put this command in the serial windows in arduino it works. If i send the same command from other program like a custom vb.net nothing happend. I think the gw not listening the incomming serial data from the usb. Sorry for my bad english im from Argentina!

      posted in Development
      ch3b7
      ch3b7
    • RE: Send serial data to vb.net to gw (usb connected)

      @marceltrapman im read de .lua file but if i send the same command lua send like "255;255;3;0;4;2\n" (set radio ID) from vb.net dont work

      posted in Development
      ch3b7
      ch3b7
    • Send serial data to vb.net to gw (usb connected)

      Im use de beta library, i can send data to gw with serial.write("1234") command and show the recieved number. My problem is how can use the incomming data in gw? Im use this example

      if (Serial.available() > 0) {
      // read the incoming byte:
      incomingByte = Serial.read();
      // say what you got:
      Serial.print("I received: ");
      Serial.println(incomingByte, DEC);
      }

      if(SerialValue == 1234){
      Serial.print("WORK ");
      }

      The IF command dont work. I try to send commands from vb.net to gw to turn on or off sensor and put auto ID

      posted in Development
      ch3b7
      ch3b7
    • RE: Wireless nRF24L01+ sniffer for MySensors

      Very good job man! i have a question! can i use a vb.net program to send commands from the gateway (conected via usb) to sensors. if y use de command SERIAL.WRITE (in vb.net) dont work!

      posted in Development
      ch3b7
      ch3b7
    • RE: SSMSG - Single file SQL MySensors Gateway

      @Damme said:

      1;1;1;1;1;1\n

      sorry im from argentina and my english is very bad xD the problem is... i can send "255;255;3;0;4;2\n" from vb.net programm to arduino gateway in COM port and then the gateway send the same command to the sensor to change de ID

      vb.net --> arduino gw ---> sensor

      but i think the gw dont read the incoming data

      at now im use your script and work fine

      posted in Development
      ch3b7
      ch3b7
    • RE: Send data to other sensor

      can i put values like this "gw.send( MyMessage("1","3").setDestination("2").set("1") );" ?

      posted in Development
      ch3b7
      ch3b7
    • RE: SSMSG - Single file SQL MySensors Gateway

      @Damme How the gateway recieve data and send to other sensor ? like "255;255;3;0;4;2\n" because if i send directly from arduino program work, but with other program connected to serial port not work.

      posted in Development
      ch3b7
      ch3b7
    • RE: Send data to other sensor

      This example work in 1.4b1 (18848a2) ?

      posted in Development
      ch3b7
      ch3b7
    • Send data to other sensor

      Can I send data to other sensors directly from the arduino serial window?

      posted in Development
      ch3b7
      ch3b7