autoexposuremode lists Bulb here, and shutterspeed lists bulb too. Check the logs, we need to find a reliably and consistent method to identify a B/M camera.
A simple approach would be this: For shutterspeeds of <=30s force bulb should be disabled automatically. For shutterspeeds of >30s it must be enabled automatically. The disadvantage of this method is the user would still have to make sure that camera setting and Ekos setting are the same.
A more reliable method would be to detect whether the camera's dial is actually set to "B" (autoexposuremode = "B" ) or "M" shortly before any picture is taken. If it is set to "B", force bulb must be ON, if it is "M", force bulb must be OFF.
In case the exposure time selected in Ekos is >30s but the camera is set to M, a warning should be displayed. When the exposure time selected in Ekos is <1s but the dial is set to B that should trigger a warning, too.
BTW, can the camera's autoexposuremodes be toggled by software? In other words, can Ekos/Indi set the camera to "M" mode even if its dial is set to "B"? That would be perfect as Ekos could take care of everything.
I'm not qujite sure if I understand correctly. In bulb mode you can take pictures at any speed. However, it doesn't make much sense trying to take 1/8000s exposures (maximum speed listed) in bulb mode.