-
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
Recycle Week Between Sensors Not Matching #2
Comments
Please provide a copy of your configuration
From: memphisraynz ***@***.***>
Sent: Thursday, 5 December 2024 8:16 PM
To: mark1foley/Brisbane-Bin-Day-Sensor ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [mark1foley/Brisbane-Bin-Day-Sensor] Recycle Week Between Sensors Not Matching (Issue #2)
The two sensors have been setup.
The Recycle bin in Brisbane Bin Day, reports the Recycle as False, but under the Recycle sensor it reports true.
I have confirmed my address and zone, the API is reporting the correct data.
https://data.brisbane.qld.gov.au/api/explore/v2.1/catalog/datasets/waste-collection-days-collection-weeks/records?where=week_starting%20=%20date%272024-12-02%27%20AND%20search(zone,%20%271%27)
Tomorrow, Friday is my Bin day and should be recycling, which matches above.
—
Reply to this email directly, view it on GitHub<#2>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AL6CAIDVSLRH5AW5TRBBXDL2EARUHAVCNFSM6AAAAABTCDIP7KVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4YTSOJWHAZTOOA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.******@***.***>>
|
Hi copy of my sensor config not sure if the api results have change |
Hi, I added your property number (454726) to my config and it looks to be working ok. Here are the sensor attributes.
So it looks to be working ok to me as it matches the calendar in the BCC app Are you getting different results to this? |
Hi, Is there a way in the config to continue to report today (bin day) as this week. |
Hi, so is the issue that your bin gets collected later in the day on collection day? My bin gets collected at silly o'clock so I didn't really think about that when writing it. I guess I could add a "Collection Hour" configuration item and instead of setting the collection date to midnight on collection day it would use the hour specified. That would stop the sensor flicking over to the next week until the specified hour is reached on "bin day". The "Due In" would also be the number of hours until the specified hour instead of midnight. Would that work for you? |
Honestly, it may be that I just had different expectations from that the sensor was showing. When i first put the sensor in, it was the day before Bin day. The recycing sensor show everything correct. The main sesnor had As I see it now, its really two sesnors, one for the Green bin and another for the Yellow bin. I did end up playing with the code to put in an Offset, to push the time the bins are "collected" at. |
Ok, no problems. If you would like to share the code you changes I could like at incorporating it. I have to do some work on the integration soon anyway. I convinced BCC to add a dataset to their open data site for the annual kerbside collection so wanted implement that.
Regards,
Mark
From: memphisraynz ***@***.***>
Sent: Saturday, 7 December 2024 5:08 AM
To: mark1foley/Brisbane-Bin-Day-Sensor ***@***.***>
Cc: Mark Foley ***@***.***>; Comment ***@***.***>
Subject: Re: [mark1foley/Brisbane-Bin-Day-Sensor] Recycle Week Between Sensors Not Matching (Issue #2)
Honestly, it may be that I just had different expectations from that the sensor was showing.
When i first put the sensor in, it was the day before Bin day. The recycing sensor show everything correct.
The main sesnor had
Next Collection Date: "2024-12-13" (where the next collection date for my bins was the 6th, but I'm gusseing this is next collection for the bin underneath.)
Extra Bin: "Green/Garden"
Recycle Week: false ( this also threw me, as I thought this being the main sensor it should show true, becuase tomorrow was recycling)
As I see it now, its really two sesnors, one for the Green bin and another for the Yellow bin.
I did end up playing with the code to put in an Offset, to push the time the bins are "collected" at.
—
Reply to this email directly, view it on GitHub<#2 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AL6CAIBSOCWLEQ7OR6OV43D2EHYZTAVCNFSM6AAAAABTCDIP7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRTHE3TMOJYGI>.
You are receiving this because you commented.Message ID: ***@***.******@***.***>>
|
Hi, |
The two sensors have been setup.
The Recycle bin in Brisbane Bin Day, reports the Recycle as False, but under the Recycle sensor it reports true.
I have confirmed my address and zone, the API is reporting the correct data.
https://data.brisbane.qld.gov.au/api/explore/v2.1/catalog/datasets/waste-collection-days-collection-weeks/records?where=week_starting%20=%20date%272024-12-02%27%20AND%20search(zone,%20%271%27)
Tomorrow, Friday is my Bin day and should be recycling, which matches above.
The text was updated successfully, but these errors were encountered: