Navigation

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

    Posts made by Pendragon

    • RE: Windows GUI/Controller for MySensors

      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?

      posted in Controllers
      Pendragon
      Pendragon
    • RE: Windows GUI/Controller for MySensors

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

      posted in Controllers
      Pendragon
      Pendragon
    • RE: 433mhz outlet

      @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();
      		}
      	}
      }
      posted in Troubleshooting
      Pendragon
      Pendragon