PiCam not showing in Repetier-Host since upgrade to Repetier-Server Pro 0.90.0

Since upgrading to Repetier-Server 0.90.0 I cannot view my PiCam in Repetier-Host.  I can see the feed on the server web interface and on the Pi TFT.  Image URLs are set correctly in Repetier-server.  Any suggestions, what am I missing?

Comments

  • Did you upgrade to Host 2.1.2? We now support multiple webcams so the format has changed and only from 2.1.2 onwards host knows this new format.
  • Yes, I am using Host 2.1.2.
  • That is strange as I tested exactly this combination to verify it is working. Are there any error messages in host log that show something goes wrong?
  • There is an error message.  Here is the log:

    13:01:51.290 : Exception during socket read:Object reference not set to an instance of an object.
    13:01:51.290 : {"callback_id":1168,"data":{"connection":{"connectionMethod":0,"ip":{"address":"","port":23},"lcdTimeMode":4,"pipe":{"file":""},"resetScript":"","serial":{"baudrate":250000,"communicationTimeout":3.0,"device":"/dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_5573530333435151A062-if00","dtr":0,"inputBufferSize":127,"malyanHack":false,"pingPong":false,"rts":0}},"extruders":[{"acceleration":25.0,"alias":"","changeFastDistance":20.0,"changeSlowDistance":20.0,"cooldownPerSecond":0.5,"eJerk":30.0,"extrudeSpeed":2.0,"filamentDiameter":1.75,"heatupPerSecond":2.0,"lastTemp":151,"maxSpeed":25.0,"maxTemp":260,"offsetX":0.0,"offsetY":0.0,"retractSpeed":25.0,"temperatures":[{"name":"ColorFabb XT","temp":250},{"name":"ABS 230","temp":230},{"name":"PLA 190","temp":190},{"name":"PLA 185","temp":185},{"name":"Change filament","temp":170}]}],"general":{"active":true,"defaultVolumetric":false,"eepromType":"marlin","firmwareName":"Marlin","heatedBed":false,"logHistory":true,"model":"","name":"Solidoodle 2","numFans":1,"pauseHandling":0,"pauseSeconds":120,"printerVariant":"cartesian","sdcard":true,"slug":"CC_Printer","softwarePower":false,"tempUpdateEvery":1,"useModelFromSlug":"","useOwnModelRepository":true},"heatedBeds":[],"heatedChambers":[],"movement":{"G10Distance":3.0,"G10LongDistance":50.0,"G10Speed":50.0,"G10ZLift":0.0,"G11ExtraDistance":0.0,"G11ExtraLongDistance":0.0,"G11Speed":50.0,"allEndstops":true,"invertX":false,"invertY":false,"invertZ":true,"maxXYSpeed":500.0,"maxZSpeed":50.0,"movebuffer":16,"timeMultiplier":1.0,"xEndstop":true,"xHome":159.0,"xMax":159.0,"xMin":0.0,"xyJerk":10.0,"xyPrintAcceleration":3000.0,"xySpeed":200.0,"xyTravelAcceleration":3000.0,"yEndstop":true,"yHome":150.0,"yMax":150.0,"yMin":0.0,"zEndstop":true,"zHome":0.0,"zJerk":0.3,"zMax":100.0,"zMin":0.0,"zPrintAcceleration":100.0,"zSpeed":200.0,"zTravelAcceleration":100.0},"properties":{},"quickCommands":[],"shape":{"basicShape":{"color":"#dddddd","radius":100,"shape":"rectangle","x":0,"xMax":250.0,"xMin":48.0,"y":0,"yMax":250.0,"yMin":10.0},"gridColor":"#454545","gridSpacing":10.0,"marker":[]},"webcams":[{"dynamicUrl":"http://192.168.1.117:8090/?action=stream","method":3,"orientation":0,"pos":0,"reloadInterval":3.0,"staticUrl":"http://192.168.1.117:8090/?action=snapshot","timelapseBitrate":1000,"timelapseFramerate":30,"timelapseHeight":0.1,"timelapseInterval":20.0,"timelapseLayer":1,"timelapseMethod":1,"timelapseSelected":0}]},"session":"FWt@wP@EqsJ9CpbBW5Oca1ew4ptYaFJ9"}
    13:01:51.290 :    at RepetierServerConnector.RSPrinterConfig.ParseJSON(JObject obj)
    13:01:51.290 :    at RepetierServerConnector.ServerConnector.UpdatePrinterConfigCallback(JObject request, JToken response)
    13:01:51.290 :    at RepetierServerConnector.ServerConnector.WSReceive2(Object sender, MessageEventArgs e)


  • That really helped. There is a bug in host that reading config crashes when you have no heated bed defined. Reading webcam data comes after that part so the webcam url is never read and can not be shown. As intermediate solution add a heated bed to your server config. Then host will work with webcam. In next host release the problem will then be fixed.
  • Problem solved! Thank you!
Sign In or Register to comment.