X Series IP Camera

Android app
https://play.google.com/store/apps/details?id=huiyan.p2pwificam.client&hl=ca

IOS appp
https://itunes.apple.com/us/app/ismartviewpro/id834791071?mt=8

RTSP / VLC Streaming

rtsp://{username}:{password}@{ip}/live/ch0
rtsp://{username}:{password}@{ip}/live/ch1

Snapshot from X Series IP Camera

http://{ip}/mjpeg/snap.cgi?chn=0

Default settings

Username admin
Password 123456

ONVIF

http://{ip}/onvif/device_servic

The X Series IP Camera follow ONVIF standard although the ONVIF service is disabled as default.

If you find this post useful you may be interested in Google AIY Vision Full Kit or a cheap IP camera.

Advanced Symfony 2 environment variables

In this article I’m going to share a trick that I use to achieve a similar result of the New in Symfony 3.4: Advanced environment variables for Symfony 2.x.

The new advanced environment variables is a great improvement on the developer experience using symfony. It is the way to go in the future and it expands what you can do using YML thanks to Symfony Expressions in the config and parameter files. Although you could do exactly the same in Symfony 2 with a small little trick.

Continue reading

Snappy – How to create PDF with Symfony and twig

Long time ago I use FPDF to create PDF Documents and reports. FPDF allows you to define a PDF using blocks. This process is slow as you can not reuse any of the views you already code in html or your frontend components.

For a long time there has been a new player wkhtmltopdfwkhtmltopdf is a headless chrome port that generate PDF’s or Images from a website and you can use it in Symfony with Snappy bundle.

Continue reading