Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonoff TH Sensor problem with 12.4.0 #18375

Closed
FilippoS1973 opened this issue Apr 10, 2023 · 3 comments
Closed

Sonoff TH Sensor problem with 12.4.0 #18375

FilippoS1973 opened this issue Apr 10, 2023 · 3 comments
Labels
awaiting feedback Action - Waiting for response or more information

Comments

@FilippoS1973
Copy link

Device: sonoff TH.
Issue: after upgrade to 12.4.0 sensor SI7021 doesn’t work.
If downgrade to 12.2.0 it works
Thank you for help!

@Jason2866
Copy link
Collaborator

Solution 0ea36d9
how is described #17944

@Jason2866 Jason2866 added the awaiting feedback Action - Waiting for response or more information label Apr 10, 2023
@FilippoS1973
Copy link
Author

Thank you but I’m not sure what to do. I’m user not expert

@Jason2866
Copy link
Collaborator

Run this script to find the needed values for your sensor

#!/bin/bash

CPUFREQ=(80 160)
DHTDELAYHIGH=(300 350 400 450 500 550 600 650 700 750)
DHTDELAYLOW=(20 30 40 50 60 70)

for freq in ${CPUFREQ[@]}; do
  echo "CpuFrequency $freq"
  curl "http://192.168.1.202/cm?cmnd=CpuFrequency%20$freq"
  sleep 1
  for high in ${DHTDELAYHIGH[@]}; do
    for low in ${DHTDELAYLOW[@]}; do
      echo "CpuFrequency $freq - DhtDelay $high,$low" | tee -a "DhtDelay.log"
      curl "http://192.168.1.202/cm?cmnd=DhtDelay%20$high%2C$low"
      sleep 12
      curl -s http://192.168.1.202/cs?c2=0 | tail -n 30 | grep -A 900 "DhtDelay1\":\[$high,$low" | tee -a "DhtDelay.log"
    done
  done
done

Repository owner locked and limited conversation to collaborators Apr 17, 2023
@Jason2866 Jason2866 converted this issue into discussion #18438 Apr 17, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
awaiting feedback Action - Waiting for response or more information
Projects
None yet
Development

No branches or pull requests

2 participants