HASSIO Konnected Integration not detecting motion changes

Hi,

I have hassio running on raspberry pi and using ESP8266 board with Konnected firmware to connect wired PIR motion sensors. The board is detected in hassio and can even see the motion sensor that I have connected to ESP8266 but hassio does not show any motion state changes when there is motion detected by the PIR motion sensor. Only time it shows motion detected is when I remove the wires of the motion sensor from the ESP8266 board and connect them back. At that point of time, the board also flashes to show changes but not otherwise (when actual motion happens in front of PIR sensors).

There are no errors in log and I am using the below configuration:
‘’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’
http:
base_url: https://:8123
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
ip_ban_enabled: false
login_attempts_threshold: 4
ssl_profile: intermediate

discovery:
konnected:
access_token:
devices:
- id:
blink: true
binary_sensors:
- pin: 2
type: motion
name: ‘Hall’
‘’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’

Not sure what I am doing wrong. I have tried ESPHome Addon as well and even that was not detecting motion.

Can someone please help? I have spent many days trying to fix this and not able to figure out whats wrong.

Any help is greatly appreciated.