teddycloud icon indicating copy to clipboard operation
teddycloud copied to clipboard

Time based disabling

Open bertramking opened this issue 8 months ago • 5 comments

I would like to have a time based disabling of the toniebox within toniecloud.

I know that the to toniebox doesn't support this by default.

But I think it could be possible by temporarily changing the associated taf file to an empty one or one without sound. If it is requested within a time that has been set as disabled. And then after that time, reassign the original taf file.

I don't know if this is possible to set it just during the request of one single tonie. Or if the taf would have to be changed for all tonies during disabled times. Then it would probably not be feasible as it might take too long to restore all the tafs after.

I'm sorry that I do not have the time to develop this myself, but I hope someone who has time appreciates the idea.

bertramking avatar Mar 20 '25 13:03 bertramking

And how shall that work? Without a freshnesscheck the box won‘t get the silenced taf?

henryk86 avatar Mar 20 '25 14:03 henryk86

And how shall that work? Without a freshnesscheck the box won‘t get the silenced taf?

Oh ok, I thought the box does a freshness check when it's turned on.

bertramking avatar Mar 20 '25 21:03 bertramking

Yes. When it’s turned on also, but if it’s played all the time there is no freshnesscheck.

henryk86 avatar Mar 21 '25 04:03 henryk86

Yes, then my original proposal still stands, just with the restriction that it can only work when the box is turned on during the "silenced time". Which I would still see as quite useful for example if your kids wake up in the middle of the night and decide to start playing the toniebox at full volume. You could avoid that. Of course one could say that you can handle these cases with proper parenting ;) . But imho its always neat to have some features in teddycloud that make it even better than the original. But I'm just suggesting anyway, I know that everyones time is precious. So I'm definately not trying to demand any features where the benefit possibly doesn't outweigh the programming effort.

Edit: I mean it would take my second original option of replacing all assigned tonies' taf files. I don't know if that deletes the original tafs on the box though. And if they then would have to be retransferred at the end of the "silenced time". This would probably make it non feasible, do you know more about that?

bertramking avatar Mar 21 '25 12:03 bertramking

There is a hidden feature within the Toniebox to limit the usage per day. There is one documented case, that this happened randomly. It wasn't reproducable. (And I don't know which type of Toniebox it was)

In the freshnessCheck there are two unknown fields, that may enable that feature, if we find the right values by trying or by reversing the firmware on that topic.

Image

As alternative it would be possible to limit the volume of the box within a specific timeframe. It would also be possible to mark all tags as outdated and send a TAF that just plays nothing or plays a message. But this could mark all content outdated and the box would redownload it on next use. (I don't think the box removes the flag if it gets a normal freshnessCheck in the morning then). You could test it by marking one of your tags as live, do a freshnessCheck, remove the live, do a freshnessCheck again and put the tag on the box.

SciLor avatar Mar 22 '25 06:03 SciLor