-
Notifications
You must be signed in to change notification settings - Fork 3
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
Simulation of temperature changes does not work through setting attributes #21
Comments
project here https://wokwi.com/projects/380852837058333697 |
will attend to it later today. Cheers, Bonny
…On Thu, 9 Nov 2023 at 05:31, avkondrat ***@***.***> wrote:
tried various options for changing the attribute values in the
diagram.json according to the description.
"attrs": { "genDebug": "0", "deviceID": "010203040506", "owDebug": "1",
"temperature":"25.9375", "familyCode": "16", "minTemp": "10", "maxTemp":
"20", "tempWaveForm": "triangle", "tempWaveFreq": "0.0156"}
the temperature is displayed constant in the console - *Temperature is:
25.94 C*
wherein output for the chip code:
*chip-ds18b20 *** DS18B20 setting attributes: chip-ds18b20 gen_debug: 0
chip-ds18b20 ow_debug: 0 chip-ds18b20 temperature: 25.937500 chip-ds18b20
family_code: 10 chip-ds18b20 min_temp: -55.000000 chip-ds18b20 max_temp:
125.000000 chip-ds18b20 temp_freq: 0.000000 chip-ds18b20 temp_mode: 0
chip-ds18b20 device_id: 10000000000000fb chip-ds18b20 DS18B20 chip
initialised*
what am I doing wrong? or is there an error in the source?
—
Reply to this email directly, view it on GitHub
<#21>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAUGTZ6GTQWTZ5TC3P74GHDYDPFYPAVCNFSM6AAAAAA7DKZB2KVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4DIMJYGA4DMNI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hi, Bonny...do you have any news? |
The project indicates you're using an older release. If this works for you, please let me know and I can close the issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tried various options for changing the attribute values in the diagram.json according to the description.
"attrs": { "genDebug": "0", "deviceID": "010203040506", "owDebug": "1", "temperature":"25.9375", "familyCode": "16", "minTemp": "10", "maxTemp": "20", "tempWaveForm": "triangle", "tempWaveFreq": "0.0156"}
the temperature is displayed constant in the console - Temperature is: 25.94 C
wherein output for the chip code:
chip-ds18b20
*** DS18B20 setting attributes:
chip-ds18b20
gen_debug: 0
chip-ds18b20
ow_debug: 0
chip-ds18b20
temperature: 25.937500
chip-ds18b20
family_code: 10
chip-ds18b20
min_temp: -55.000000
chip-ds18b20
max_temp: 125.000000
chip-ds18b20
temp_freq: 0.000000
chip-ds18b20
temp_mode: 0
chip-ds18b20
device_id: 10000000000000fb
chip-ds18b20
DS18B20 chip initialised
what am I doing wrong? or is there an error in the source?
The text was updated successfully, but these errors were encountered: