Skip to content

Timeouts and Other Improvements#7

Merged
asantaga merged 10 commits intoasantaga:masterfrom
msp1974:master
Jan 12, 2020
Merged

Timeouts and Other Improvements#7
asantaga merged 10 commits intoasantaga:masterfrom
msp1974:master

Conversation

@msp1974
Copy link
Collaborator

@msp1974 msp1974 commented Jan 11, 2020

Angelo,

I have added the timeout parameter to all requests.get and requests.patch calls.
Also added some functions to convert between wiser temp and decimal temp and ensure integer - issue #4 .
Have set temp to min temp when setting to manual if scheduled temp is below min (ie off)
Some improvements to error logging also.
Removed all values in functions to refer to constants for off, min, max.
Provided a fix for issue #1 by only showing warning is room has no TRVs or RoomStats.
KR
Mark

msp1974 and others added 10 commits January 11, 2020 17:17
Updated:  Added timeout setting to all requests
… value - issue #4

Added: Function to check temperature is in valid range in set functions
Updated: Improved logging output for setRoomMode errors
Fixed: Manual mode temp will be set to min temp when scheduled temp is below minimum - issue #3
Updated: Created constants for off, min and max temp and used in functions instead of values
Updated: Replaced remaining values with off,min,max constants
Fix for issue #1.  Only shows warning if room has no TRVs or RoomStats
Fixed: Error calling temp range check
Copy link
Owner

@asantaga asantaga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, noticed one extra change which I'll make as a sub commit

@asantaga
Copy link
Owner

Merged

@asantaga
Copy link
Owner

asantaga commented Jan 12, 2020

All merged but I dont know why github still thinks it isnt merged.. but it is...... weird..

Thanks for the merge, closing

@asantaga asantaga closed this Jan 12, 2020
@asantaga asantaga reopened this Jan 12, 2020
@asantaga asantaga merged commit de04a25 into asantaga:master Jan 12, 2020
@asantaga
Copy link
Owner

I worked it out... :-) this way the network graph is true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants