Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
Andrew MaynardA

Andrew Maynard

@Andrew Maynard
About
Posts
29
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • New Gateway not showing on Domoticz
    Andrew MaynardA Andrew Maynard

    This is the gateway sketch. I desoldered the rfm69 module and still no change.

    // Enable debug prints to serial monitor
    #define MY_DEBUG
    
    // Use a bit lower baudrate for serial prints on ESP8266 than default in MyConfig.h
    #define MY_BAUD_RATE 9600
    
    // Enables and select radio type (if attached)
    #define MY_IS_RFM69HW                             // Module is high power (HW/HCW)
    #define MY_RFM69_FREQUENCY   (RFM69_433MHZ)
    #define MY_RADIO_RFM69                            // Select Radio-Module RFM69
    #define MY_RFM69_CSMA_LIMIT_DBM             (-95)      
    
    #define MY_RFM69_CS_PIN D8                            // SPI CS PIN
    #define MY_RF69_IRQ_PIN D1                         // IRQ PIN
    #define MY_RF69_IRQ_NUM D1                         // IRQ PIN NUM (for M0 it is the same as IRQ PIN. Will be obsolete in upcoming MySensors.h)
    
    
    #define MY_GATEWAY_ESP8266
    
    // Set WIFI SSID and password
    #define MY_WIFI_SSID "xxx"
    #define MY_WIFI_PASSWORD "xxxx"
    
    // Enable UDP communication
    #define MY_USE_UDP  // If using UDP you need to set MY_CONTROLLER_IP_ADDRESS below
    
    // Set the hostname for the WiFi Client. This is the hostname
    // it will pass to the DHCP server if not static.
    //#define MY_HOSTNAME "sensor-gateway"
    
    // Enable MY_IP_ADDRESS here if you want a static ip address (no DHCP)
    //#define MY_IP_ADDRESS 192,168,178,87
    
    // If using static ip you can define Gateway and Subnet address as well
    //#define MY_IP_GATEWAY_ADDRESS 192,168,178,1
    //#define MY_IP_SUBNET_ADDRESS 255,255,255,0
    
    // The port to keep open on node server mode
    #define MY_PORT 5003
    
    // How many clients should be able to connect to this gateway (default 1)
    #define MY_GATEWAY_MAX_CLIENTS 2
    
    // Controller ip address. Enables client mode (default is "server" mode).
    // Also enable this if MY_USE_UDP is used and you want sensor data sent somewhere.
    #define MY_CONTROLLER_IP_ADDRESS 192, 168, 1, 110
    
    // Enable inclusion mode
    //#define MY_INCLUSION_MODE_FEATURE
    
    // Enable Inclusion mode button on gateway
    //#define MY_INCLUSION_BUTTON_FEATURE
    // Set inclusion mode duration (in seconds)
    //#define MY_INCLUSION_MODE_DURATION 60
    // Digital pin used for inclusion mode button
    //#define MY_INCLUSION_MODE_BUTTON_PIN D1
    
    // Set blinking period
    //#define MY_DEFAULT_LED_BLINK_PERIOD 300
    
    // Flash leds on rx/tx/err
    // Led pins used if blinking feature is enabled above
    //#define MY_DEFAULT_ERR_LED_PIN 2  // Error led pin
    //#define MY_DEFAULT_RX_LED_PIN  2  // Receive led pin
    //#define MY_DEFAULT_TX_LED_PIN  2  // the PCB, on board LED
    
    #if defined(MY_USE_UDP)
    #include <WiFiUdp.h>
    #endif
    
    #include <ESP8266WiFi.h>
    #include <MySensors.h>
    
    void setup()
    {
    	// Setup locally attached sensors
    }
    
    void presentation()
    {
    	// Present locally attached sensors here
    }
    
    void loop()
    {
    	// Send locally attached sensors data here
    }```
    Domoticz

  • RFM69HCW Feather M0 MQTT
    Andrew MaynardA Andrew Maynard

    oh I didnt mean it as not enough documentation in total. you guys put some serious hard work in this project and I really do appreciate it. I would think you guys are paid! I just meant in terms of raspberry pi as a gateway with rfm69hcw. Am I wrong? btw this is one of the liveliest communities I've experienced! once again thank you and I do appreciate it!

    Troubleshooting

  • What did you build today (Pictures) ?
    Andrew MaynardA Andrew Maynard

    @sundberg84 said in What did you build today (Pictures) ?:

    The rules are simple - keep it simple with one picture (or a few) with a small text including a small exp

    0_1539488433847_esplangatewah.jpg

    sick of breadboard so made the gateway more permanent. added a nice dc plug to it after pic

    General Discussion

  • New Gateway not showing on Domoticz
    Andrew MaynardA Andrew Maynard

    Once again thanks for your help! of course it works now lol. i soldered it back together and it works perfectly!

    Domoticz
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular