Navigation

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

    Posts made by Dominic Bonneau

    • Temperature sensor issu ( Maybe something with 2.0 vs 2.1.1 library)

      Hi, I try to compile the code i fond here : Temperature Sensor

      but the arduin does not seam to be able to talk with my gateway ...

      first i tought it was an issue with the radio but i try the same thing on another sensor i made 3 mounth ago and it was fine ...

      I compile the code with the 2.1.1 library because 2.0 gave me some error ... is it possible that why it can talk to the gateway ?

      I don't want to update my gateway is it possible to compile it with 2.0 library ?

      this is the error i got in 2.0

      Arduino:1.8.3 (Windows 10), Carte : "Arduino Pro or Pro Mini, ATmega328 (3.3V, 8 MHz)"
      
      C:\Users\dbonneau\Documents\Arduino\libraries\DallasTemperature\examples\DallasTemperatureSensor\DallasTemperatureSensor.ino: In function 'void loop()':
      
      DallasTemperatureSensor:94: error: 'getControllerConfig' was not declared in this scope
      
           float temperature = static_cast<float>(static_cast<int>((getControllerConfig().isMetric?sensors.getTempCByIndex(i):sensors.getTempFByIndex(i)) * 10.)) / 10.;
      
                                                                                        ^
      
      exit status 1
      'getControllerConfig' was not declared in this scope
      

      and this is the log on 2.1.1

      10033 TSM:FAIL:RE-INIT
      10035 TSM:INIT
      10041 !TSM:INIT:TSP FAIL
      10043 TSM:FAIL:CNT=2
      10047 TSM:FAIL:PDT
      20051 TSM:FAIL:RE-INIT
      20054 TSM:INIT
      20060 !TSM:INIT:TSP FAIL
      20062 TSM:FAIL:CNT=3
      20066 TSM:FAIL:PDT
      30070 TSM:FAIL:RE-INIT
      30072 TSM:INIT
      30078 !TSM:INIT:TSP FAIL
      30083 TSM:FAIL:CNT=4
      30085 TSM:FAIL:PDT
      40089 TSM:FAIL:RE-INIT
      40091 TSM:INIT
      40097 !TSM:INIT:TSP FAIL
      40099 TSM:FAIL:CNT=5
      40103 TSM:FAIL:PDT
      
      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: USB PowerMeter

      Yeah... I forgot about full charge phone ... I'm gonna try to find something else to find who is in bed and who is awake ...

      posted in My Project
      Dominic Bonneau
      Dominic Bonneau
    • RE: USB PowerMeter

      I already know Tasker but I have Iphones so I need another solution

      posted in My Project
      Dominic Bonneau
      Dominic Bonneau
    • USB PowerMeter

      Hi, This Is my project : I want to know if my phone is plug. ( and then make some rule in my home automation)

      I was thinking to buy cheap usb cord then plug it to my Arduino then plug my Arduino into usb wall plug. then if my phone is plug send "1" to my gateway

      My issue is I don't know if it can be done this way, I don't know how to do it, and I don't know how to code it ...

      A litre bit of help would be really cool ! 😊

      Also, I have a lot of Arduino Mini pro can I use this or I need a different model ?

      THANKS YOU !!

      posted in My Project
      Dominic Bonneau
      Dominic Bonneau
    • RE: Automate Curtain with Mysensor

      Yeah ! could do the trick ... i don't have time to check right now but is he explained every detail and hardware of his process ?

      Thanks

      posted in My Project
      Dominic Bonneau
      Dominic Bonneau
    • Automate Curtain with Mysensor

      Hi, I would like to make... i don't know like a box with some string and motor... Anyone already did something similar ?

      it !doesn't have to be exactly like on the picture. It can roll up or side I don't care

      alt text

      posted in My Project
      Dominic Bonneau
      Dominic Bonneau
    • RE: Motion Sensor Stop Working after couple of day

      Hum ... it's Arduino pro mini 8v and i power it with USB and an apple power block.

      What should I do instead ?

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • Motion Sensor Stop Working after couple of day

      Hi, I have made this motion sensor :

      https://www.mysensors.org/build/motion

      With HC-SR501 PIR Motion Sensor Module and a MQTT gateway

      and after a couple of day it stop working or become less accurate so i need to unplug it and plug it back so it start working fine again

      I unplug every connection and reconnect everything... i fix it up tight in my box so nothing move or unplug it self ..

      Do you have an idea what cause this ?

      Thanks

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: Door sensor Radio OK !TSM:FAILURE

      Ok so i'm still not able to make it work...

      My gateway is an arduino uno and my node a mini pro 3.3v 8mhz ...

      i don't have anny capacitor for the radio and i could pass this afternoon at an electronic store...

      do i need one for my gateway AND my node ?

      on the my sensor web site they recommand 47µF but on the forum i saw at some place that i should use 100µF

      ??

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: Door sensor Radio OK !TSM:FAILURE

      For the sensor it's repeating the something over and over ....

      For the Gateway I got this :

      0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.0.1-beta
      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;TSM:INIT:TSP OK
      0;255;3;0;9;TSM:INIT:GW MODE
      0;255;3;0;9;TSM:READY
      IP: 192.168.111.6
      0;255;3;0;9;MCO:REG:NOT NEEDED
      0;255;3;0;9;MCO:BGN:INIT OK,ID=0,PAR=0,DIS=0,REG=1
      IP: 192.168.111.6
      0;255;3;0;9;Attempting MQTT connection...
      0;255;3;0;9;MQTT connected
      0;255;3;0;9;Sending message on topic: mygateway1-out/0/255/0/0/18
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      0;255;3;0;9;TSF:SANCHK:OK
      
      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: Door sensor Radio OK !TSM:FAILURE

      I can I have a more detailed log ?

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: Door sensor Radio OK !TSM:FAILURE

      Oups... Yeah my bad I was trying something with not the same library of my gateway.

      This is the sketch :

      
      /**
       * 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
       *
       * Interrupt driven binary switch example with dual interrupts
       * Author: Patrick 'Anticimex' Fallberg
       * Connect one button or door/window reed switch between 
       * digitial I/O pin 3 (BUTTON_PIN below) and GND and the other
       * one in similar fashion on digital I/O pin 2.
       * This example is designed to fit Arduino Nano/Pro Mini
       * 
       */
      
      
      // 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>
      
      #define SKETCH_NAME "Binary Sensor"
      #define SKETCH_MAJOR_VER "1"
      #define SKETCH_MINOR_VER "0"
      
      #define PRIMARY_CHILD_ID 3
      #define SECONDARY_CHILD_ID 4
      
      #define PRIMARY_BUTTON_PIN 2   // Arduino Digital I/O pin for button/reed switch
      #define SECONDARY_BUTTON_PIN 3 // Arduino Digital I/O pin for button/reed switch
      
      #if (PRIMARY_BUTTON_PIN < 2 || PRIMARY_BUTTON_PIN > 3)
      #error PRIMARY_BUTTON_PIN must be either 2 or 3 for interrupts to work
      #endif
      #if (SECONDARY_BUTTON_PIN < 2 || SECONDARY_BUTTON_PIN > 3)
      #error SECONDARY_BUTTON_PIN must be either 2 or 3 for interrupts to work
      #endif
      #if (PRIMARY_BUTTON_PIN == SECONDARY_BUTTON_PIN)
      #error PRIMARY_BUTTON_PIN and BUTTON_PIN2 cannot be the same
      #endif
      #if (PRIMARY_CHILD_ID == SECONDARY_CHILD_ID)
      #error PRIMARY_CHILD_ID and SECONDARY_CHILD_ID cannot be the same
      #endif
       
      
      // Change to V_LIGHT if you use S_LIGHT in presentation below
      MyMessage msg(PRIMARY_CHILD_ID, V_TRIPPED);
      MyMessage msg2(SECONDARY_CHILD_ID, V_TRIPPED);
      
      void setup()  
      {  
        // Setup the buttons
        pinMode(PRIMARY_BUTTON_PIN, INPUT);
        pinMode(SECONDARY_BUTTON_PIN, INPUT);
      
        // Activate internal pull-ups
        digitalWrite(PRIMARY_BUTTON_PIN, HIGH);
        digitalWrite(SECONDARY_BUTTON_PIN, HIGH);
      }
      
      void presentation() {
        // Send the sketch version information to the gateway and Controller
        sendSketchInfo(SKETCH_NAME, SKETCH_MAJOR_VER "." SKETCH_MINOR_VER);
      
        // Register binary input sensor to sensor_node (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(PRIMARY_CHILD_ID, S_DOOR);  
        present(SECONDARY_CHILD_ID, S_DOOR);  
      }
      
      // Loop will iterate on changes on the BUTTON_PINs
      void loop() 
      {
        uint8_t value;
        static uint8_t sentValue=2;
        static uint8_t sentValue2=2;
      
        // Short delay to allow buttons to properly settle
        sleep(5);
        
        value = digitalRead(PRIMARY_BUTTON_PIN);
        
        if (value != sentValue) {
           // Value has changed from last transmission, send the updated value
           send(msg.set(value==HIGH ? 1 : 0));
           sentValue = value;
        }
      
        value = digitalRead(SECONDARY_BUTTON_PIN);
        
        if (value != sentValue2) {
           // Value has changed from last transmission, send the updated value
           send(msg2.set(value==HIGH ? 1 : 0));
           sentValue2 = value;
        }
      
        // Sleep until something happens with the sensor
        sleep(PRIMARY_BUTTON_PIN-2, CHANGE, SECONDARY_BUTTON_PIN-2, CHANGE, 0);
      }
      

      And this is the log :

      MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.0.1-beta
      TSM:INIT
      TSM:INIT:TSP OK
      TSF:ASID:OK,ID=2
      TSM:FPAR
      TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSM:FPAR:NO REPLY
      TSM:FPAR
      TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSM:FPAR:NO REPLY
      TSM:FPAR
      TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSM:FPAR:NO REPLY
      TSM:FPAR
      TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSM:FPAR:FAIL
      TSM:FAILURE
      TSM:FAILURE:PDT
      

      I don’t know why he said no reply my gateway is in 2.0.1 like my sensor. I can ping it .. And receive data from my gateway on my mqtt broker …

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: Door sensor Radio OK !TSM:FAILURE

      Ok set I manualy set my ID to 2 and now a got the :

      Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      TSM:RADIO:OK
      TSP:ASSIGNID:OK (ID=2)
      TSM:FPAR
      TSP:MSG:SEND 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSM:FPAR:FAIL
      !TSM:FAILURE
      TSM:PDT
      
      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • Door sensor Radio OK !TSM:FAILURE

      Hi i made a door sensor with this exemple : https://www.mysensors.org/build/binary

      And the log always give me this :

      Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      TSM:RADIO:OK
      !TSP:ASSIGNID:FAIL (ID=0)
      !TSM:FAILURE
      TSM:PDT
      TSM:FPAR
      TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      
      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: Mqtt and openhab

      When you look at the code here :

      https://www.mysensors.org/build/mqtt_gateway

      it doesn't have any place to enter a mqtt server adress it's why I tought it was the server .... If I don't give the mqtt server address in the code how he find it ?

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • Mqtt and openhab

      Hi I just finish my first sensor and my first mqtt gateway for my openhab server.

      I try to make an easy door/windows sensor.

      I think everything work because :

      Mqtt gateway : I can ping it and everything seam fine in the log

      Sensor : everything seam Fine in the log AND when I touch the 2 wire together the led flash.

      My real issue is I don't understand the mqtt protocol. I was thinking about testing it to understand it but it's not that easy.

      So: I use a software call mqtt.fx and connect to my mqtt server without any problems but nothing appear when I subscribe to # if I'm right the mqtt gateway is a server so I try to connect to Arduino ip adress with my software and a couldn't ... Is it normal ?

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: two arduino, two avrdude error ..

      OMG I think I found my problem ....

      Is it possible to put code into Arduino mini pro with this : https://cdn-shop.adafruit.com/1200x900/954-02.jpg

      Because I check tuto on the web and they all use this :
      https://abra-electronics.com/images/thumbnails/280/217/detailed/134/ARD-FTDI-F(1).jpg

      Thanks

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: two arduino, two avrdude error ..

      GOT TWO NEW ARDUINO MINI PRO... SAME MESSAGE AGAIN 😔 ... What does event mean ? What am I doing wrong ...

      ATTENTION : La catégorie '' dans la bibliothèque UIPEthernet n'est pas valide. Définition sur : 'Uncategorized'

      Le croquis utilise 1 066 octets (3%) de l'espace de stockage de programmes. Le maximum est de 30 720 octets.
      Les variables globales utilisent 9 octets (0%) de mémoire dynamique, ce qui laisse 2 039 octets pour les variables locales. Le maximum est de 2 048 octets.
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
      Problème de téléversement vers la carte. Voir http://www.arduino.cc/en/
      Guide/Troubleshooting#upload pour suggestions.

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: two arduino, two avrdude error ..

      Thank you i'll check !

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: two arduino, two avrdude error ..

      How ?? and is it possible that my two arduino don't have boot loader ??

      I find how to burn the bootloader... i need to buy another adapter ... the arduino mini cost me 2 box i'm gonna buy another one .. easier than learn how to burn boot loader and to buy another adapter

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: two arduino, two avrdude error ..

      Ok so I test with another computer another usb cable and even reinstall everything ... I can't upload a blink test sketch I alway get the error :

      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

      What does it mean ??

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: two arduino, two avrdude error ..

      led seam working .. I don't have other to test ...

      Other info first arduino have a green light who stay on. the second one have the same led plus a red one who flash

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • two arduino, two avrdude error ..

      Ok so i'm still a noob with my sensor but i'm starting to understand the basics. I build my mqtt client gateway and he work (at least I think serial log said everything was ok )My issue is with my first sensor...

      I try something easy Door, Window and Push-button Sensor. I did it with an arduino mini pro 3.3v So i wire my NRF24L01 and put two wire. One on the ground and the other on Digital pin 3.

      When i upload the code i had this error :

      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
      

      and it goes to 10 of 10

      So i try to redo my wire, re install my driver, re download the library, Do a clean install of the arduino IDE.. Always the same

      But Hey ! I have another arduino mini pro 3.3 i'm gonna try this one ...

      When i upload the code i had this error :

      avrdude: ser_setspeed(): tcsetattr() failed
      avrdude: ser_open(): can't set attributes for device "/dev/cu.usbserial": Invalid argument
      ioctl("TIOCMGET"): Bad file descriptor
      avrdude: ser_close(): can't reset attributes for device: Bad file descriptor
      

      Again I try a lot of thing i google the 2 problems ... the only thing i can't test(at least right now ) is with another computer ...

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: Help please ! total noob here !!

      It look like the issue come from the dev branch :

      https://forum.mysensors.org/topic/1728/uno-ethernet-shield-radio-init-fail-solved/2

      Is there something i can do ?

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: Help please ! total noob here !!

      Hi, first of all, thank you very much for helping me like that !

      I'm a Noob with my sensor but i'm a network guy (it's my job !) I know how to find an ip address !

      I know pretty much all my device on my network so i just look on my dhcp server to see if new device show up . Also i use a software to scan every device on the network

      I don't map the mac adress because i didn't have the time. Like I said it work only one time.

      I was afraid that was a physical problems so I retry with the first sketch
      ( https://www.mysensors.org/build/mqtt_gateway )

      And it work ! I ping it without any problem...

      EDIT : I just saw this in my code :

      //W5100 Ethernet module SPI enable (optional if using a shield/module that manages SPI_EN signal)
      //#define MY_W5100_SPI_EN 4  
      

      Do I need to uncomment the second line ?

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: Help please ! total noob here !!

      ok so what is wrong then ?

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: Help please ! total noob here !!

      Ok that is weird ! I try with and without static adress and it both didn't work BUT the first time I try without static IP it worked ! the ping worked ! so i try to unplug the arduino to see if it was the right device and yes the ping stop so I plug it back and since then ... nothing ...

      I was wondering, I replace all the mysensor library with de developer branch is that ok ?

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: Help please ! total noob here !!

      Hum ... when i use this code : https://www.mysensors.org/build/mqtt_gateway

      I can ping my arduino

      But when i use the one you told me to : https://github.com/mysensors/Arduino/blob/development/libraries/MySensors/examples/GatewayW5100MQTTClient/GatewayW5100MQTTClient.ino

      I can't ping it .. what happen ? is it because it's not the same wiring ?

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: Help please ! total noob here !!

      OK thank you ! and if i use another code can i use the same wiring ?

      https://www.mysensors.org/build/ethernet_gateway

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: Help please ! total noob here !!

      Thank you for your help but i still have a major question !

      So i follow this guide : https://www.mysensors.org/build/ethernet_gateway

      even for the wiring because of the sofspi

      and upload this code : https://www.mysensors.org/build/mqtt_gateway

      I set up the ip address for it but i can't understand how he gonna talk to my mqtt server there no place in the code to add my mqtt server.

      p.s my mac didn't see my arduino mini pro i'm gonna bring it to my office and try it there but is there something i can do ?

      Than you

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • RE: Help please ! total noob here !!

      @Matt Thank you for your answer but my openhab setup is already configure... Yes it was a pain at first but right now I understand the system and everything works fine so i try to stick to it

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • Help please ! total noob here !!

      hi, I just bought everything I need to build a mqtt Gateway and a door sensor (i think it's the simplest one ! )

      So I need my sensor to tell my mqtt gateway when the door is open. then he will tell my mqtt broker (my mac mini and i test it it work ) and from there openhab take the info.

      Here my issue : I follow a lot of tutorial on the web but no one did it the same way and with the same code So i can not take the info from one and from another ...

      So i need a schema for my mqtt gateway (who is arduino uno r3, NRF24L01 Radio and W5100 Ethernet module )

      I need the code for it ( I look here but i didn't understand why i have a .h and a .ino https://www.mysensors.org/build/mqtt_gateway )

      and also a code for my arduino mini pro 3.3v (don't need the schema is pretty easy ) can i use this one ?
      https://www.mysensors.org/build/binary

      I read about noob tutorial but it doesn't help much with my sensors library

      I look here but the guy don't show is shema so i'm a bit lost http://forum.mysensors.org/topic/2352/guide-setting-up-and-testing-mqtt-client-gateway/2

      finaly how did i make my 2 arduino talk to each other with the NRF24L01 ?

      Ok so thanks for all the answer you gonna give me even it's a little bit and i know i'm asking a lot a the same time but I REALY want to do my own sensor and understand well the arduino.

      p.s sorry for my bad english ...

      posted in Troubleshooting
      Dominic Bonneau
      Dominic Bonneau
    • Milight/limitlessled to my sensor Gateway

      Hi I use milight light and the wifi bridge is terrible so i want to modify it to work on ethernet.

      This guy do it using a raspberry pi... I was wondering if I can do it using my ethernet gateway (build with an arduino uno r3)

      https://servernetworktech.com/2014/09/limitlessled-wifi-bridge-4-0-conversion-raspberry-pi/

      Thanks

      posted in My Project
      Dominic Bonneau
      Dominic Bonneau
    • RE: Multisensor with battery

      Thanks ! I know that some component/sensor are more power efficient and for some build i'm better to use X specific sensor

      any tips ?

      posted in General Discussion
      Dominic Bonneau
      Dominic Bonneau
    • Multisensor with battery

      Hi i'm new and I was wondering if it's possible to make a door sensor with PIR, light and temperature sensor all power by battery ?

      Is it possible to combine all that AND have decent battery life ?

      finaly what do I need ??

      thanks

      posted in General Discussion
      Dominic Bonneau
      Dominic Bonneau