Navigation

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

    Posts made by luizrrocha

    • RE: MYSBootloader 1.3 pre-release & MYSController 1.0.0beta

      I also have problems with my battery-powered sleeping-most-of-the-time nodes. I actually have to disassemble them and force reset several times until the OTA FW update function starts to work, which pretty much negates its usage.

      @Tekka, I echo mbedarff´s words, your job is fantastic but can we all try to add on our efforts and try to make it even better than it already is ?

      Cheers from Portugal.

      Luiz

      posted in Development
      luizrrocha
      luizrrocha
    • RE: Battery nodes and communication failure

      Hi, it looks like this constant is used only during the first initialization of the node, when the parent_id and the node_id are being written to the node's eeprom, not during normal operation.

      I tested a method from another suggestion on this forum, to ask the controller for the last value sent by the node, since if you ask for data it do times out and you could then assume that the gateway was offline or some other network error occurred, but this technique did not work all the time.

      I have power outages here that disable the gateway and then the nodes eat up their batteries trying to resend the same message over and over and I would love to find a way to stop this from happening too.

      posted in Development
      luizrrocha
      luizrrocha
    • RE: Car Aux Battery Monitor

      You are my hero, man !!!

      I have several 2xAA powered sensors that connect to a MySGateway without an UPS. Power outages are frequent in my street and when the power goes out on the gateway, the sensors eat their batteries trying to send data... Your method of checking the status of the uplink before trying to send is going to cost a little more during normal operations but will save a lot in case of outages.

      Good idea!

      posted in My Project
      luizrrocha
      luizrrocha
    • RE: MYSBootloader 1.3.0-beta.3

      @gohan I beg to differ. On Page 299 of Atmel's ATMega 328p datasheet you can verify that the Absolute Maximum Ratings table states : "Voltage on any Pin except RESET with respect to Ground . . . . . . . . . .-0.5V to VCC+0.5V" which adds to 3.8V for a 3.3V Pro.

      And also: *NOTICE: Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device.

      Perhaps you have mistaken the Pro for the NRF24L01+ radio which is supplied by 3.3v but has 5Volt tolerant inputs ?

      Otherwise there would be no need for those USB to FTDI boards with 3v3/5V selection jumpers ...

      posted in Development
      luizrrocha
      luizrrocha
    • RE: MYSBootloader 1.3.0-beta.3

      @moskovskiy82 My boards.txt specify bootloader.low_fuses=0xF7 as the Arduino being programmed has a crystal on board.

      One other thing: I built my own programming board, to support programming ATMega 328p chips and Pro boards in 3.3v@8MHz and 5v@16Mhz... I used a switch and a level converter board to connect the Uno ICSP port to the pins of the Pro.

      Uno pins are 5V output, they would burn the input pins of the 3.3v Pro chip, did you account for that ?

      posted in Development
      luizrrocha
      luizrrocha
    • RE: 💬 MySensors Gateway for Raspberry PI

      Hi, great project. I want one as soon as possible !

      Quick silly question: it supports the PA+LNA version of the NRF24L01, right ?

      posted in OpenHardware.io
      luizrrocha
      luizrrocha
    • RE: NodeManager: plugin for a rapid development of battery-powered sensors

      Hello, good work !!! I'll be trying your extension very soon....

      Quick question: is it compatible with ATMEGA chips flashed with MYSBootloader pre-1.3a ?

      posted in NodeManager
      luizrrocha
      luizrrocha
    • RE: 💬 Building a Raspberry Pi Gateway

      @musthafa : look on the MySensors forum for the MYSController, install it and you can monitor the messages going to the gateway.

      Most likely your declaration of the LED output pin on the MySensors arduino is not correct. I still did not use arduinos as actuators with MySensors so I will probably not be of much help here.

      Cheers,

      Luiz

      posted in Announcements
      luizrrocha
      luizrrocha
    • RE: 💬 Building a Raspberry Pi Gateway

      Hello, @musthafa .

      For installation I used the tutorial at http://www.domoticz.com/wiki/Installing_and_running_Domoticz_on_a_Raspberry_PI. It looks like they changed the tutorial that I used to just a single curl command to install it, although there are complaints about it not working alright. You'll have to try it as I cannot reinstall mine.

      Setting up MySensors Gateway is also covered in the wiki : http://www.domoticz.com/wiki/MySensors, very easy. I recommend you go thru the wiki pages as I did, they are a treasure of information, as the manual on www.domoticz.com is outdated though useful.

      Good luck.

      Luiz

      posted in Announcements
      luizrrocha
      luizrrocha
    • RE: 💬 Building a Raspberry Pi Gateway

      @Oli: delete the Makefile.inc file on mysensors folder
      ./configure --my-gateway=ethernet
      make
      sudo ./bin/mysgw -b
      go to domoticz and create a new MySensors Gateway with LAN, inform 127.0.0.1 as the address and 5003 as the port...

      that should do the trick.

      posted in Announcements
      luizrrocha
      luizrrocha
    • RE: 💬 Building a Raspberry Pi Gateway

      @Oli : if both the gateway and Domoticz run on the same Raspi, there is no physical network involved, hence the 127.0.0.1 dummy local address is used by Domoticz to talk to the gateway on the same machine, just using port 5003... and since you use localhost (127.0.0.1, a virtual network) there is no need to create a virtual USB port which is what you did...

      posted in Announcements
      luizrrocha
      luizrrocha
    • RE: 💬 Building a Raspberry Pi Gateway

      @Oli : why not remove the old definition to avoid any trash information and restarting Domoticz to make shure it rereads the port info before creating the new entry ?

      And I do not understand why if you are running domoticz and the gateway on the same Pi, why not use a ethernet gateway and set 127.0.0.1 and port 5003 on the Domoticz gateway entry. I did that and never had to worry about USB ports at all.

      posted in Announcements
      luizrrocha
      luizrrocha
    • RE: 💬 Building a Raspberry Pi Gateway

      @jacikaas : on MYSController go to Settings -> Gateway -> TCP/IP and add the IP address of the Gateway and use port 5003. It works even if the gateway is feeding data to Domoticz, so you can monitor your sensors in "raw" mode.

      Cheers,

      Luiz

      posted in Announcements
      luizrrocha
      luizrrocha
    • RE: 💬 Building a Raspberry Pi Gateway

      @Oli : the port name is actually ttyMySensorsGateway, you have to correct the definition of the gateway on Domoticz to use it....

      Luiz

      posted in Announcements
      luizrrocha
      luizrrocha
    • RE: 💬 Building a Raspberry Pi Gateway

      @Oli: sorry, correct syntax is ps -ef | grep my

      posted in Announcements
      luizrrocha
      luizrrocha
    • RE: 💬 Building a Raspberry Pi Gateway

      @Oli: by the way, the name of the port you used is ttyMySensorsGateway, not ttyUSBMySensorsGateway:

      @mfalkvidd I could not find ttyMySensorsGateway on Domoticz. Only ttyUSB0, ttyUSB20 and ttyAMA0. Even after I did ./configure --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyMySensorsGateway

      Is the gateway running, ie, "ps -ef "grep my" shows a process there ?

      Cheers,

      Luiz

      posted in Announcements
      luizrrocha
      luizrrocha
    • RE: 💬 Building a Raspberry Pi Gateway

      @Oli: when you do a "ls /dev" is ttyUSBMySensorsGateway shown ?

      posted in Announcements
      luizrrocha
      luizrrocha
    • RE: 💬 Building a Raspberry Pi Gateway

      Ditto, @Robinek70 !

      Thank you, Marcelo Aquino, for your fantastic work .

      I have Domoticz, Cacti, Heyu and MySensors Gateway running in a 30 dollars RASPBERRY PI 2, all without a glitch, all talking to each other and hopefully soon will also have Alexa for RASPBERRY PI running there also.

      If in doubt, by a RASPBERRY PI and thank people who develop and support it for free instead of complaining all the time.

      'nuff said.

      Luiz Roberto

      posted in Announcements
      luizrrocha
      luizrrocha