Chris Veilleux
4cb0ebb621
improved documentation
2021-12-22 15:52:22 -06:00
Chris Veilleux
1990d726a2
improved documentation
2021-12-22 15:49:59 -06:00
Chris Veilleux
7256d56f0e
Remove code that supported deprecated implementation of resting screen
2021-12-22 14:15:56 -06:00
Chris Veilleux
c6968c98c8
Initial implementation of an IdleDisplaySkill that extends MycroftSkill to provide an API for skills that will implement the idle screen functionality.
2021-12-22 13:16:30 -06:00
Chris Veilleux
ad391e8200
Add an event indicating the internet connection is ready for use
2021-12-16 15:25:01 -06:00
Michael Hansen
cd95cf60f7
Network connect activity handles intermediary disconnect state
2021-12-15 15:45:08 -05:00
Michael Hansen
3c22bda38c
Refactor and clean up code for wifi connect
2021-12-14 19:23:07 -05:00
Michael Hansen
3bf3c1a999
Merge branch 'feature/mark-2-boot' of https://github.com/MycroftAI/mycroft-core into feature/mark-2-boot
2021-12-14 12:05:42 -05:00
Michael Hansen
dffcd5605f
Use shared proc in awconnect server
2021-12-14 12:05:23 -05:00
Chris Veilleux
e1dfb2c78e
first skill update should not occur until a full interval after the boot sequence completes.
2021-12-13 23:11:35 -06:00
Chris Veilleux
4fa58d069c
remove code that updated skills before they were loaded.
2021-12-13 23:03:09 -06:00
Chris Veilleux
ba64ca08bf
Merge branch 'feature/mark-2-boot' of https://github.com/MycroftAI/mycroft-core into feature/mark-2-boot
...
Conflicts:
mycroft/client/enclosure/mark2/interface.py
2021-12-13 17:08:53 -06:00
Chris Veilleux
986ba6a87d
added new event handler for when the device has authenticated with the server.
2021-12-13 17:07:52 -06:00
Michael Hansen
5030da2cc8
Add event for user selecting access point in wifi setup
2021-12-13 11:18:07 -05:00
Michael Hansen
4e2afccf8b
Add hotspot activity with socket to awconnect
2021-12-09 17:57:52 -05:00
Michael Hansen
19df425b0a
Convert some activities to threaded
2021-12-09 17:56:30 -05:00
Michael Hansen
1211971557
Add threaded activity that blocks by default
2021-12-09 17:56:05 -05:00
Michael Hansen
56e6a4eb0f
Add comment to network_utils
2021-12-09 17:55:32 -05:00
Michael Hansen
4159f9d646
Clear properties changed event in network connect
2021-12-08 15:48:54 -05:00
Michael Hansen
a303177ed5
Check wifi/ethernet device states directly for connectivity
2021-12-08 15:17:56 -05:00
Michael Hansen
4ff744f1b4
Add dbus default settings to mycroft.conf
2021-12-08 12:03:59 -05:00
Michael Hansen
9e67748bea
Use configuration for dbus address
2021-12-08 11:08:35 -05:00
Michael Hansen
46b02e25cc
Make clock sync activity synchronous
2021-12-07 22:39:52 -05:00
Michael Hansen
e16e9478e3
Add activity/__init__.py
2021-12-07 17:22:03 -05:00
Michael Hansen
f0eb10d5ea
Move some DBus code back into network_utils
2021-12-07 17:21:47 -05:00
Michael Hansen
8f0a5d65a4
timedatectl still failing in mark2
2021-12-07 16:28:12 -05:00
Michael Hansen
7fb2847d53
Merge branch 'feature/mark-2-boot' of https://github.com/MycroftAI/mycroft-core into feature/mark-2-boot
2021-12-07 15:18:57 -05:00
Michael Hansen
07c88b980d
Add clock sync activity
2021-12-07 14:32:57 -05:00
Chris Veilleux
6e5f46cbac
added a wait into the synchronize clock method
2021-12-07 13:27:51 -06:00
Michael Hansen
d233fbd2a0
Merge branch 'feature/mark-2-boot' of https://github.com/MycroftAI/mycroft-core into feature/mark-2-boot
2021-12-07 14:12:58 -05:00
Michael Hansen
369dee5ec1
Add network/internet connect activities
2021-12-07 14:10:41 -05:00
Chris Veilleux
ea5cf61361
Added a function to determine if time is synchronized via NTP and an activity in the enclosure service to leverage it.
2021-12-07 13:06:57 -06:00
Chris Veilleux
7f2d4bd25f
Defining message bus event handlers before a message bus connection is established can cause errors.
2021-12-06 10:53:40 -06:00
Chris Veilleux
0eb5a1fc44
Fix a race condition when waiting for initialized services
2021-12-03 18:14:21 -06:00
Chris Veilleux
712110e17f
Removed DevicePrimer class. All functionality moved to enclosure
2021-12-02 16:04:37 -06:00
Chris Veilleux
409fff9390
Removed if statement that checked for the existence of an enclosure. The create_enclosure() method always returns an instance of an Enclosure class
2021-12-02 16:04:37 -06:00
Chris Veilleux
9819dbf2f7
Logging improvements
2021-12-02 16:04:37 -06:00
Michael Hansen
c49868905c
Remove DEBUG log from mark2 connectivity check
2021-12-02 16:04:17 -06:00
Michael Hansen
a296952efa
Add network/internet polling thread to mark2
...
==== Tech Notes ====
Mark2 enclosure uses NetworkManager to poll for network/internet
connectivity.
On state change, outputs:
mycroft.network.connected
mycroft.network.disconnected
mycroft.internet.connected
mycroft.internet.disconnected
Every polling interval, outputs:
mycroft.network.state (data.state=connected/disconnected)
mycroft.internet.state (data.state=connected/disconnected)
2021-12-02 16:04:17 -06:00
Chris Veilleux
0328043f7c
Added log messages, changed mycroft.ready to mycroft.started and added handler for mycroft.started
2021-12-02 13:09:21 -06:00
Chris Veilleux
4b7dd93b85
Fixed bug with method signature and added log message for device ready for use.
2021-12-02 13:08:42 -06:00
Michael Hansen
7f19bad4f3
Add unit tests for NetworkManager
...
==== Fixed Issues ====
Added unit tests for NetworkManager.
Restart DBus thread if an error occurs.
2021-12-02 11:07:47 -05:00
Michael Hansen
503c081d95
Add NetworkManager for checking connectivity
...
==== Tech Notes ====
Connects to org.freedesktop.NetworkManager over DBus to determine
connectivity status.
==== Environment Notes ====
Adds dbus-next Python package as a requirement
2021-12-01 16:15:02 -05:00
Chris Veilleux
982b79482c
move enclosure logic from skill service to enclosure service
2021-11-30 15:44:09 -06:00
Chris Veilleux
aca4d1a2f6
improve enclosure initialization logging
2021-11-30 15:41:57 -06:00
Chris Veilleux
53ffd737a0
move some steps in the startup sequence so that the message bus connection is established as early as possible. this will facilitate status updates occurring as soon as possible as well.
2021-11-30 15:40:40 -06:00
Chris Veilleux
ef7009dfbc
PEP8 refactoring
2021-11-30 15:40:40 -06:00
Chris Veilleux
3d26fa9ada
Add service ready event and improve logic to determine if device is ready.
2021-11-30 15:40:27 -06:00
Kris Gesling
131a9ed03f
PEP8
2021-11-04 20:53:00 +09:30
Kris Gesling
99be84df2e
Add Github Action for pushing to gitlab
2021-10-04 16:20:35 +09:30