Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sesnors
#9
(10-11-2024, 01:29 AM)admin Wrote: Server16 digital input ports use for dry contact signal. or you can input 12v or 0v. when 0v is trigger (as same as digital input short with GND). if you connect with power 12v to digital input, that means NOT trigger.
If you want this logical state to be reversed. want input 12v for sensor trigger. you can config in home assistant "inverted" option.
you can post your config file at here, we can have a look.

ok, thank you for reply, Im not 100% sure I understand but here is YAML for the area of concern, the others sensors are GPIO but arent working right now because that integration has ebeen deprecated or abandonded.  I see where to change the invert logic " en masse" , is this the same as going into integration entities and configuring each individual pin as invert logic ( box IS currenlty checked ) and pull mode is "UP" ?

   

Code:
binary_sensor:
  - platform: mcp23017
    i2c_address: 0x20
    invert_logic: true
    pins:
      0 : Button_1
      1 : Button_2
      2 : Button_3
      3 : Button_4
      4 : Button_5
      5 : Button_6
      6 : Button_7
      7 : Button_8
      8 : Button_9    
      9 : Button_10     
      10 : Button_11     
      11 : Button_12     
      12 : Button_13     
      13 : Button_14     
      14 : Button_15
      15 : Button_16
  - platform: rpi_gpio
    sensors:
      - port: 11
        name: TEST PIR Office
      - port: 12
        name: "TEST PIR Bedroom"   
Reply


Messages In This Thread
sesnors - by BaconRanch - 10-07-2024, 02:29 AM
RE: sesnors - by admin - 10-07-2024, 03:01 AM
RE: sesnors - by BaconRanch - 10-07-2024, 06:42 PM
RE: sesnors - by admin - 10-07-2024, 11:40 PM
RE: sesnors - by BaconRanch - 10-08-2024, 12:57 AM
RE: sesnors - by admin - 10-08-2024, 01:55 AM
RE: sesnors - by BaconRanch - 10-09-2024, 01:14 AM
RE: sesnors - by admin - 10-11-2024, 01:29 AM
RE: sesnors - by BaconRanch - 10-11-2024, 03:07 AM
RE: sesnors - by admin - 10-11-2024, 03:13 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)