I gave up trying to set the openhab.. mosquitto and all that on my Rpi, honestly I am very new on the rpi and linux.. that is fact ..but other side there is not easy guide to follow in order to install successfully the openhab + mosquitto +my sensors. I have spent a sum of 12 hours without getting to much valuable. Instead I have decided to go to Domotic Z I have followed that guide https://www.domoticz.com/wiki/Domoticz_RaspberryPi_SD_Image , it took me 1 hour to set up everything and now I have fully working my ESP8266 gateway sending my sensors data to domoticZ on my RPI, just follow that link and you'll get domotic z installed on your rpi.
luisgcu
@luisgcu
Best posts made by luisgcu
-
DomoticZ on RPi successfully running
Latest posts made by luisgcu
-
RE: Long Range Transmission
@Ironbar I did some test with the nrf24l01 the one that come with the pa + lna amplifier (100mw) and get more than a 1km on LOS.
you may also try the RFM69HW.. the one that has 20dbm output. -
RE: Long Range Transmission
hello I made some range test using the LoRa Modules RFM96 (433mhz) , I was able to get data at 5.2miles ( low speed) transmission.
still trying to understand the radioHead libray.. for my test I use the example rf95_reliable_datagram_client.pde
see more details of my test here..RFM96 LoRa
my problem is I am not so advanced when programming arduino in the way to pack data using struct , for example I want to send between nodes the status of 3 or 4 Digital inputs and and at least 2 or 3 internal calculations based on analog inputs.
Anyone could help me with that?typedef struct{ // this is the data that I would receive from master
bool RDI1; // command for turn on/off an digital ouput
bool RDI2; // command for turn on/off an digital ouput
bool RDI3; // command for turn on/off an digital ouput
bool RDI4; // command for turn on/offf an digital ouput
int RVar1; // value
int RVar2; //value
}
Recdata;
Recdata Rdata; -
RE: Porting MySensors to work with the RadioHead library
Hello folks.
There is any plan to include into mysensors the LoRa RFM95 ,96? I am currently testing one those modules at 433mhz with RadioHead library. I had conducted some test in suburban environment and getting around 1.8 miles range. I pretend to apply this for remote water pump control monitoring in farms. I still want to try the rfm69 and see how much range I can cover . Any advice will be highly appreciated.
Regards -
RE: ESP8266 WiFi gateway port for MySensors
here is my ESP8266 wifi gateway installed in wifi repeater box, taking the advantage that its has a 5 volts power supply.
-
RE: Openhab, Mosquitto, ESP-8266 12E wifi gateway
@vikey , I know your pain.. I passed that way.. I am kind on the mid way out of the bush.. still lot of things that I am not understand very well.. ie how to use the new my sensor library.. this need a lot time reading and testing..
I am going to explain what I did to get what i have so far.
1- Install the arduino core for the esp8266 (read all the detail on how add the esp8266 core to arduino) Download link
2- I am using Mysensor v1.5 you may download the whole thing from here install the library as usual "add zip library" .
3-Next step is connect your ESP8266 to your PC and using arduino ide select in tools-->boards -->Generic ESP8266 module.
4- Next step is to open the sketch ESp8266gateway : File-->examples-->Mysensors-->Esp8266gateway.
5- Inside the code you need to edit your wifi name and password.
6-I have added to that sketch a line to put a fixed ip adress to my ESP8266 . The new My sensor library do not need all that.. but did have time to try once again to get it working..
so I place le line of code below on the Setup(); after the hw_init();
WiFi.config(IPAddress(192,168,xx,xx), IPAddress(192,168,x,x), IPAddress(255,255,255,0));
7-Next step is upload the code to the ESP8266, you may connect to the ESP8266 using the serial monitor and check if the module is connected to your wifi
8- use any example within my sensor library examples, the one work perfect is the Dallastemperatura Sensor example here -
DomoticZ on RPi successfully running
I gave up trying to set the openhab.. mosquitto and all that on my Rpi, honestly I am very new on the rpi and linux.. that is fact ..but other side there is not easy guide to follow in order to install successfully the openhab + mosquitto +my sensors. I have spent a sum of 12 hours without getting to much valuable. Instead I have decided to go to Domotic Z I have followed that guide https://www.domoticz.com/wiki/Domoticz_RaspberryPi_SD_Image , it took me 1 hour to set up everything and now I have fully working my ESP8266 gateway sending my sensors data to domoticZ on my RPI, just follow that link and you'll get domotic z installed on your rpi.
-
RE: Openhab, Mosquitto, ESP-8266 12E wifi gateway
I gave up trying to set the openhab.. mosquitto and all that on my Rpi, honestly I am very new on the rpi and linux.. that is fact ..but other side there is not easy guide to follow in order to install successfully the openhab + mosquitto +my sensors. I have spent a sum of 12 hours without getting to much valuable. Instead I have decided to go to Domotic Z I have followed that guide https://www.domoticz.com/wiki/Domoticz_RaspberryPi_SD_Image , it took me 1 hour to set up everything and now I have fully working my ESP8266 gateway sending my sensors data to domoticZ on my RPI