Skip to content

MSS425E stops working after a few hours #286

Closed
@dnlbauer

Description

@dnlbauer

When I use a Meros MSS425E to control switches, It works for the first few hours but then suddenly stops working. In the system log below I can see a lot of messages from the meros_iot module that make me think its some kind of connectivity issue or possibly a deadlock where TerrariumPi tries to connect too often? The Rasperry is definitly connected to the Internet and the MSS425E is connected, too. I can still switch it on/off with my smartphone from the Meross App but the a manual switch from Terrarium Pi is also not possible.
A reboot solves the issue, but only for a few hours.

Please let me know if I can do anything to help get this fixed.

Excerpt from the system log:

2019-05-04 20:19:30,739 - ERROR   - terrariumSwitch      - Failed changing power switch 'heat lamp' of type 'mss425e' at address '1' from state 'True' to state 'False' (Forced:False)
2019-05-04 20:19:28,215 - INFO    - terrariumEngine      - Webcam update(s) done in 0.00004 seconds. Waiting for 29.99996 seconds for next update
2019-05-04 20:19:22,484 - INFO    - terrariumAudio       - Update done in 0.00006 seconds. Waiting for 29.99994 seconds for next update
2019-05-04 20:19:22,463 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:19:22,456 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:19:20,728 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:19:20,722 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:19:10,445 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:19:10,437 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:19:10,429 - INFO    - terrariumEnvironment - Environment light is turning off the alarm min powerswitches based on weather
2019-05-04 20:19:10,402 - WARNING - terrariumEnvironment - Update took to much time. Needed 228.47848 seconds which is 213.47848 more then the limit 15
2019-05-04 20:19:10,375 - ERROR   - terrariumSwitch      - Failed changing power switch 'heat lamp' of type 'mss425e' at address '1' from state 'True' to state 'False' (Forced:False)
2019-05-04 20:19:00,707 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:19:00,699 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:19:00,362 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:19:00,356 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:18:58,209 - INFO    - terrariumEngine      - Webcam update(s) done in 0.00005 seconds. Waiting for 29.99995 seconds for next update
2019-05-04 20:18:52,479 - INFO    - terrariumAudio       - Update done in 0.00009 seconds. Waiting for 29.99991 seconds for next update
2019-05-04 20:18:42,686 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:18:42,680 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:18:40,344 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:18:40,336 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:18:28,668 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:18:28,661 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:18:28,205 - INFO    - terrariumEngine      - Webcam update(s) done in 0.00005 seconds. Waiting for 29.99995 seconds for next update
2019-05-04 20:18:22,475 - INFO    - terrariumAudio       - Update done in 0.00005 seconds. Waiting for 29.99995 seconds for next update
2019-05-04 20:18:22,324 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:18:22,318 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:18:16,649 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:18:16,643 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:18:08,306 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:18:08,299 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:18:02,629 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:18:02,623 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:17:58,199 - INFO    - terrariumEngine      - Webcam update(s) done in 0.00005 seconds. Waiting for 29.99995 seconds for next update
2019-05-04 20:17:56,287 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:17:56,281 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:17:52,470 - INFO    - terrariumAudio       - Update done in 0.00005 seconds. Waiting for 29.99995 seconds for next update
2019-05-04 20:17:42,610 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:17:42,604 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:17:42,267 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:17:42,261 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:17:28,194 - INFO    - terrariumEngine      - Webcam update(s) done in 0.00005 seconds. Waiting for 29.99995 seconds for next update
2019-05-04 20:17:24,592 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:17:24,586 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:17:22,465 - INFO    - terrariumAudio       - Update done in 0.00005 seconds. Waiting for 29.99995 seconds for next update
2019-05-04 20:17:22,249 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:17:22,243 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:17:10,576 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:17:10,571 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:17:04,231 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:17:04,225 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:16:58,560 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:16:58,555 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:16:58,189 - INFO    - terrariumEngine      - Webcam update(s) done in 0.00004 seconds. Waiting for 29.99996 seconds for next update
2019-05-04 20:16:52,460 - INFO    - terrariumAudio       - Update done in 0.00005 seconds. Waiting for 29.99995 seconds for next update
2019-05-04 20:16:50,214 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:16:50,208 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:16:46,543 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:16:46,535 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:16:38,198 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:16:38,192 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:16:28,185 - INFO    - terrariumEngine      - Webcam update(s) done in 0.00005 seconds. Waiting for 29.99995 seconds for next update
2019-05-04 20:16:26,030 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:16:26,024 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:16:23,543 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:16:23,537 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:16:22,455 - INFO    - terrariumAudio       - Update done in 0.00005 seconds. Waiting for 29.99995 seconds for next update
2019-05-04 20:16:06,012 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:16:06,005 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:16:05,524 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:16:05,518 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:15:58,179 - INFO    - terrariumEngine      - Webcam update(s) done in 0.00005 seconds. Waiting for 29.99995 seconds for next update
2019-05-04 20:15:52,451 - INFO    - terrariumAudio       - Update done in 0.00005 seconds. Waiting for 29.99995 seconds for next update
2019-05-04 20:15:51,506 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:15:51,497 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:15:47,994 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:15:47,987 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:15:39,485 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:15:39,477 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:15:33,975 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:15:33,969 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:15:29,462 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:15:29,456 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:15:28,174 - INFO    - terrariumEngine      - Webcam update(s) done in 0.00005 seconds. Waiting for 29.99995 seconds for next update
2019-05-04 20:15:22,447 - INFO    - terrariumAudio       - Update done in 0.00005 seconds. Waiting for 29.99995 seconds for next update
2019-05-04 20:15:21,957 - INFO    - protocol             - The client is connecting already, let's wait a bit...
2019-05-04 20:15:21,950 - INFO    - protocol             - Current client connection status is: ClientStatus.CONNECTED
2019-05-04 20:15:21,941 - INFO    - terrariumEnvironment - Environment light is turning off the alarm min powerswitches based on weather
2019-05-04 20:15:21,915 - WARNING - terrariumEnvironment - Update took to much time. Needed 228.32620 seconds which is 213.32620 more then the limit 15
2019-05-04 20:15:21,887 - ERROR   - terrariumSwitch      - Failed changing power switch 'heat lamp' of type 'mss425e' at address '1' from state 'True' to state 'False' (Forced:False)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions