Skip to content
Snippets Groups Projects
  1. Dec 15, 2024
  2. Dec 06, 2024
  3. Dec 04, 2024
  4. Nov 28, 2024
  5. Nov 27, 2024
  6. Nov 26, 2024
  7. Nov 13, 2024
    • KERDREUX Jerome's avatar
      Fix a type issue on color lamp · fc6432a0
      KERDREUX Jerome authored
      In the Python lamps, I used a trick to convert input to int.. temp =
      int(white_temperature). But the dashboard was sending white_temperature
      = '3000', yes a string and Py is ok w/ that. int('3000') = 3000
      
      This fix the issue.
      fc6432a0
  8. Nov 06, 2024
  9. Aug 19, 2024
  10. Jul 16, 2024
  11. Jul 15, 2024
  12. Jul 12, 2024
  13. Mar 08, 2024
    • jkerdreu's avatar
      Fix the nasty timing bug w/ Python asyncio.Protocol. The API reports the transport as "connected", · e768c073
      jkerdreu authored
      but the IGMP packet wasn't sent yet. So we are receiving answers before we managed to effectly 
      join the multicast group.
      
      Here an example (tshark) with is a is_alive query: 
      
      1 0.000000000  10.77.3.105 → 224.0.29.200 UDP 120 1236 → 1236 Len=78   <-- notify is_alive
      2 0.000033024  10.77.3.105 → 224.0.29.200 UDP 150 1236 → 1236 Len=108  <-- request is_alive
      3 0.007238730  10.77.3.105 → 224.0.29.200 IGMPv2 46 MRG 224.0.29.200   <-- Multicast join
      
      The average delay is around 8ms on a container based install (with 802.1q, and bridges) 
      The only solution right now is to wait (50ms) in AsycnNetworkConnector.connect().
      
      After the patch, you should experience something like this: 
      
      1 0.000000000  10.77.3.105 → 224.0.29.200 IGMPv2 46 MRG 224.0.29.200
      2 0.043197464  10.77.3.105 → 224.0.29.200 UDP 120 1236 → 1236 Len=78
      3 0.043218241  10.77.3.105 → 224.0.29.200 UDP 150 1236 → 1236 Len=108
      4 0.046509230   10.77.3.64 → 224.0.29.200 UDP 122 1236 → 1236 Len=80
      5 0.047613517   10.77.3.64 → 224.0.29.200 UDP 122 1236 → 1236 Len=80
      6 0.049329272   10.77.3.64 → 224.0.29.200 UDP 123 1236 → 1236 Len=81
      
      Yes, first device answers within 3.3ms.. so < 8ms. 
      
      This bug only occurs on host with no other xAAL apps running on the same address/port and only
      at startup.
      
      
      
      
      git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@3145 b32b6428-25c9-4566-ad07-03861ab6144f
      e768c073
    • jkerdreu's avatar
      Fix missing messages on startup. · a384d3df
      jkerdreu authored
      
      git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@3144 b32b6428-25c9-4566-ad07-03861ab6144f
      a384d3df
  14. Feb 16, 2024
  15. Oct 23, 2023
  16. Aug 05, 2023
  17. Mar 02, 2023
  18. Feb 25, 2023
  19. Jan 04, 2023
  20. Nov 24, 2022
  21. Nov 17, 2022
Loading