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
P

Pendragon

@Pendragon
About
Posts
3
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Windows GUI/Controller for MySensors
    P Pendragon

    Du you all connect the controller direct to the gateway?

    I have a serial gateway which is connected directly to a raspberry running domoticz. I can rum ser2net and then connect the MYSController via ethernet. While ser2net is running, domoticz does not get any data from the gateway.

    Has anyone found a solution to use both, MYSController and a controller software (e.g. domoticz) in parallel?

    Controllers myscontroller mysbootloader

  • Windows GUI/Controller for MySensors
    P Pendragon

    What ware the designed values for "type" in the fimware_config.csv?
    Can I use this variable for my sensor IDs?

    Controllers myscontroller mysbootloader

  • 433mhz outlet
    P Pendragon

    @treb0r said:

    I am trying to add also 433 receiver to allow domoticz update states of the switches is the Socket is switched on or off by remote control. Does anybody know how to do that? After receiving certain code change the state of the corresponding socket.
    treb0r

    Im an just trying to do this (also with domoticz) ;)

    Here is my first try of the function using RCSwitch.h:

    /****************************************
    * Analyse the Radio traffic and set the states
    ****************************************/
    void readRadio()
    {
    	if (mySwitch.available())
    	{
    		int value = mySwitch.getReceivedValue();
    
    		if (value == 0)
    		{
    			#ifdef DEBUG
    			Serial.print("Unknown encoding");
    			#endif
    		}
    		else
    		{
    			led(false,4,150);
    			#ifdef DEBUG
    			Serial.print("Received ");
    			Serial.print( mySwitch.getReceivedValue() );
    			Serial.print(" / ");
    			Serial.print( mySwitch.getReceivedBitlength() );
    			Serial.print("bit ");
    			Serial.print("Protocol: ");
    			Serial.println( mySwitch.getReceivedProtocol() );
    			#endif
    			
    			if (value == 4373) //Stehlampe ON
    			{
    				#ifdef DEBUG
    				Serial.println("Stehlampe ON detected");
    				#endif
    			}
    			else if (value == 4372 ) //Stehlampe OFF
    			{
    				#ifdef DEBUG
    				Serial.println("Stehlampe OFF detected");
    				#endif
    				resend((msgLight1.set(0)),m_repeat);
    			}
    			else if (value == 1048597 ) //Vitrine ON
    			{
    				#ifdef DEBUG
    				Serial.println("Vitrine ON detected");
    				#endif
    				resend((msgLight2.set(1)),m_repeat);
    			}
    			else if (value == 1048596 ) //Vitrine OFF
    			{
    				#ifdef DEBUG
    				Serial.println("Vitrine OFF detected");
    				#endif
    				resend((msgLight2.set(0)),m_repeat);
    			}
    			mySwitch.resetAvailable();
    		}
    	}
    }
    Troubleshooting 433mhz
  • Login

  • Don't have an account? Register

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