Servo control actuator



  • I installed a digital servo and used the default sketch.
    But i want to use some % , to control the blind .
    For example when the sun i shining : fully close, and when the sun i shining a bit i want to close the blinds for 10 % .
    How to do this in this sketch : default


  • Mod

    That's already how the sketch works. It presents itself as a dimmer which can be set to any %. What is the result when you set the level to 10%?



  • @mfalkvidd said:

    That's already how the sketch works. It presents itself as a dimmer which can be set to any %. What is the result when you set the level to 10%?

    In domoticz it presents as a switch. When I change this switch to a dimmer or % blind it doesn't react. When set it back to blind control it works (only on / off)


  • Hero Member

    @the-cosmic-gate you should set it to dimmer or "blinds %" in Domoticz. That is how domoticz works. Then look at the serial port of the node if changes come in.



  • @AWI said:

    @the-cosmic-gate you should set it to dimmer or "blinds %" in Domoticz. That is how domoticz works. Then look at the serial port of the node if changes come in.

    That's exactly what I did 🙂 but the %slide doesn't do anything.



  • What did I do wrong:) ?


  • Hero Member

    @the-cosmic-gate @the-cosmic-gate hard to say.. from what you describe it should work. Assuming you have a working connection between node and gateway. Can you post the serial log of the sensor. Put a few print statements in the receive routine to show if anything is received.



  • This is the log when i used %blinds in Domoticz

    send: 1-1-0-0 s=10,c=2,t=3,pt=0,l=0,sg=0,st=fail:
    read: 0-0-1 s=10,c=1,t=29,pt=0,l=0,sg=0:
    Servo UP command
    send: 1-1-0-0 s=10,c=1,t=3,pt=2,l=2,sg=0,st=ok:100
    read: 0-0-1 s=10,c=1,t=30,pt=0,l=0,sg=0:
    Servo DOWN command
    send: 1-1-0-0 s=10,c=1,t=3,pt=2,l=2,sg=0,st=ok:0
    

    This is the log when set to dimmer %

    read: 0-0-1 s=10,c=1,t=29,pt=0,l=0,sg=0:
    Servo UP command
    send: 1-1-0-0 s=10,c=1,t=3,pt=2,l=2,sg=0,st=ok:100
    read: 0-0-1 s=10,c=1,t=30,pt=0,l=0,sg=0:
    Servo DOWN command
    send: 1-1-0-0 s=10,c=1,t=3,pt=2,l=2,sg=0,st=ok:0
    read: 0-0-1 s=10,c=1,t=29,pt=0,l=0,sg=0:
    Servo UP command
    send: 1-1-0-0 s=10,c=1,t=3,pt=2,l=2,sg=0,st=ok:100
    read: 0-0-1 s=10,c=1,t=30,pt=0,l=0,sg=0:
    Servo DOWN command
    send: 1-1-0-0 s=10,c=1,t=3,pt=2,l=2,sg=0,st=ok:0```
    
    

    The % bar doesnt function at all , cant use them
    alt text

    only on/off ( 0 - 100% ) works



  • did you ever find a fix for this. I've just built a servo my sensors and have the exact same issue


Log in to reply
 

Suggested Topics

  • 3
  • 2
  • 6
  • 1
  • 5

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts