question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add bin time / timestamp to data

See original GitHub issue

Bin time is recorded by the robot in seconds. File is /mnt/data/RoboController.cfg, value is bin_in_time:

RoboController : { runtime : { bin_in_time = 265; time_slept = 0; sound_volume = 70; clean_id = 45; carpet_mode_enabled = 1; carpet_mode_curr_integral = 450; carpet_mode_curr_highwater = 500; carpet_mode_curr_lowwater = 400; carpet_mode_stall_time = 10; fan_power = 60; temp_fan_power = -1; }; };

While this doesn’t let us react to removing the bin or see whether it’s in, Valetudo can display the cleaning time since last bin removal.

Keeping and displaying an additional timestamp every time this value jumps to 0 or decreases would also be great.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
Geertvdccommented, Sep 8, 2019

This feature would be awesome! I want to program My vacuum to go to the trash can after cleaning. As soon as i read an emptied dustbin and the vacuum is not docked i send him home

2reactions
Hypfercommented, Jun 13, 2019

To find out the bin_time value which triggers this, we’re now able to (hackishly) take this https://github.com/Hypfer/Valetudo/blob/master/lib/miio/Dummycloud.js#L154 and add a readFileSync followed by a console.log for the RoboController.cfg.

Then we just wait

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to bin time in a pandas dataframe - Stack Overflow
The correct way to bin a pandas.DataFrame is to use pandas.cut; Verify the date column is in a datetime format with pandas.to_datetime ....
Read more >
pandas: TimeSeries, Binning and Categorizing
These custom pandas objects provide powerful date calculation and generation. Timestamp: a single timestamp representing a date/time Timedelta: a date/time ...
Read more >
Grouping Data into Custom Time Bins - datavis.blog
Create Tableau Groups from the Time Field. First I created a custom date from my timestamp field on Hour using Date Part:.
Read more >
[Code]-How to bin time in a pandas dataframe-pandas
The correct way to bin a pandas.DataFrame is to use pandas.cut · Verify the date column is in a datetime format with pandas.to_datetime...
Read more >
Time series analysis in Azure Data Explorer - Microsoft Learn
In this section, we'll create a large set of regular time series simply and intuitively using the make-series operator, and fill-in missing ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found