This driver provides an interface to the Lumix http over wifi remote control protocol in order to present lumix cameras as ASCOM cameras and be used by astro photo software like APT. The camera believes that it is connected to the Panasonic ImageApp
The driver was tested with the G80, GH4 and GH5s but should work with all Wifi Lumix. 16MP sensor was the prototype. Now it is possible to work with a range of sensor sizes such as:
Notes:
A Video tutorial is available
First install the driver. Of course you need to have ASCOM platform installed on your target windows PC.
To connect your PC to the camera:
First on the camera (similar to what is needed with the Panasonic ImageApp)
On the PC
The driver allows to set the speed, iso and format of the camera transfers the image (Raw or JPG) on the PC and exposes the image array in RGB to the calling program. This will create a 16bit image regardless of what the transfer format was. Note that the driver will force the camera to store RAW and Fine JPG.
It relies on LibRaw to handle the Raw format, or the native VB.NET imaging for JPG Images are then translated into Tiff and then passed to the image array.
RAW would be preferred but the file is substantially larger and therefore longer to transfer. Therefore the download is often interrupted. the driver tries to recover/continue the download but it does not always work smoothly. this leaves with an incomplete RAW file that is still passed on but not ideal.
Given the longer transfer time it substantially cuts into the active shooting since all this process is sequential So, if you have a 1mn exposure and it takes 40s to get it onto your driver that is 40s you are not shooting...
Hence the jpg transfer option. file is smaller and transfer faster and should still be valuable for the Astro SW. In any case the camera keeps the RAW or the RAW+jpg on the SD card and the Astro SW should have a fits file from the driver. The transferred files (jpg or raw) and intermediary tiff files are deleted as soon as possible (i.e. once the imagearray has been passed to the astro Software) in order to save disk space. Code is quite nasty and could use some factoring into further utility classes/methods etc.
I added a "thumb" transfer mode which takes a large thumbnail of the image (1440x1080) in order to further reduce the transfer size. After exptensive tests it seems that platesolving is working well with the Thumb format too as the resolution is changed based on the THumb size and the pixelpitch is changed in the driver so to help in that process.
There used to be an issue with the lastest RW@ 14 bt formats that were not handled by DCraw. This new driver version now relies on LibRaw which is maintained up to date. The latest version of LibRaw.dll is included with the setup and should be installed in the same folder as the driver. I am expecting that just replacing the DLL with a most updated on should fix other RAW format issues that may emeger in the future.
for windows 32 and 64 bit. download and run ASCOM.Lumix.Camera Setup.exe.
Implements: ASCOM Camera interface version: 2.0 Author: robert hasson robert_hasson@yahoo.com this is freeware. no support, no liability whatsoever, use at your own risk, etc...
ASCOM library : https://ascom-standards.org/
DCRaw: https://www.cybercom.net/~dcoffin/dcraw/
LibRaw: https://www.libraw.org/
not used anymore: NDCRaw : https://github.com/AerisG222/NDCRaw MedallionScript: https://github.com/madelson/MedallionShell
the lumix Wifi interface protocol is heavily discussed here: https://www.personal-view.com/talks/discussion/6703/control-your-gh3-from-a-web-browser-now-with-video-/p1
Copyright (c) 2019 < robert hasson robert_hasson@yahoo.com> This work is licensed under the Creative Commons Attribution-No Derivative Works 3.0 License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nd/3.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.