123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879109880109881109882109883109884109885109886109887109888109889109890109891109892109893109894109895109896109897109898109899109900109901109902109903109904109905109906109907109908109909109910109911109912109913109914109915109916109917109918109919109920109921109922109923109924109925109926109927109928109929109930109931109932109933109934109935109936109937109938109939109940109941109942109943109944109945109946109947109948109949109950109951109952109953109954109955109956109957109958109959109960109961109962109963109964109965109966109967109968109969109970109971109972109973109974109975109976109977109978109979109980109981109982109983109984109985109986109987109988109989109990109991109992109993109994109995109996109997109998109999110000110001110002110003110004110005110006110007110008110009110010110011110012110013110014110015110016110017110018110019110020110021110022110023110024110025110026110027110028110029110030110031110032110033110034110035110036110037110038110039110040110041110042110043110044110045110046110047110048110049110050110051110052110053110054110055110056110057110058110059110060110061110062110063110064110065110066110067110068110069110070110071110072110073110074110075110076110077110078110079110080110081110082110083110084110085110086110087110088110089110090110091110092110093110094110095110096110097110098110099110100110101110102110103110104110105110106110107110108110109110110110111110112110113110114110115110116110117110118110119110120110121110122110123110124110125110126110127110128110129110130110131110132110133110134110135110136110137110138110139110140110141110142110143110144110145110146110147110148110149110150110151110152110153110154110155110156110157110158110159110160110161110162110163110164110165110166110167110168110169110170110171110172110173110174110175110176110177110178110179110180110181110182110183110184110185110186110187110188110189110190110191110192110193110194110195110196110197110198110199110200110201110202110203110204110205110206110207110208110209110210110211110212110213110214110215110216110217110218110219110220110221110222110223110224110225110226110227110228110229110230110231110232110233110234110235110236110237110238110239110240110241110242110243110244110245110246110247110248110249110250110251110252110253110254110255110256110257110258110259110260110261110262110263110264110265110266110267110268110269110270110271110272110273110274110275110276110277110278110279110280110281110282110283110284110285110286110287110288110289110290110291110292110293110294110295110296110297110298110299110300110301110302110303110304110305110306110307110308110309110310110311110312110313110314110315110316110317110318110319110320110321110322110323110324110325110326110327110328110329110330110331110332110333110334110335110336110337110338110339110340110341110342110343110344110345110346110347110348110349110350110351110352110353110354110355110356110357110358110359110360110361110362110363110364110365110366110367110368110369110370110371110372110373110374110375110376110377110378110379110380110381110382110383110384110385110386110387110388110389110390110391110392110393110394110395110396110397110398110399110400110401110402110403110404110405110406110407110408110409110410110411110412110413110414110415110416110417110418110419110420110421110422110423110424110425110426110427110428110429110430110431110432110433110434110435110436110437110438110439110440110441110442110443110444110445110446110447110448110449110450110451110452110453110454110455110456110457110458110459110460110461110462110463110464110465110466110467110468110469110470110471110472110473110474110475110476110477110478110479110480110481110482110483110484110485110486110487110488110489110490110491110492110493110494110495110496110497110498110499110500110501110502110503110504110505110506110507110508110509110510110511110512110513110514110515110516110517110518110519110520110521110522110523110524110525110526110527110528110529110530110531110532110533110534110535110536110537110538110539110540110541110542110543110544110545110546110547110548110549110550110551110552110553110554110555110556110557110558110559110560110561110562110563110564110565110566110567110568110569110570110571110572110573110574110575110576110577110578110579110580110581110582110583110584110585110586110587110588110589110590110591110592110593110594110595110596110597110598110599110600110601110602110603110604110605110606110607110608110609110610110611110612110613110614110615110616110617110618110619110620110621110622110623110624110625110626110627110628110629110630110631110632110633110634110635110636110637110638110639110640110641110642110643110644110645110646110647110648110649110650110651110652110653110654110655110656110657110658110659110660110661110662110663110664110665110666110667110668110669110670110671110672110673110674110675110676110677110678110679110680110681110682110683110684110685110686110687110688110689110690110691110692110693110694110695110696110697110698110699110700110701110702110703110704110705110706110707110708110709110710110711110712110713110714110715110716110717110718110719110720110721110722110723110724110725110726110727110728110729110730110731110732110733110734110735110736110737110738110739110740110741110742110743110744110745110746110747110748110749110750110751110752110753110754110755110756110757110758110759110760110761110762110763110764110765110766110767110768110769110770110771110772110773110774110775110776110777110778110779110780110781110782110783110784110785110786110787110788110789110790110791110792110793110794110795110796110797110798110799110800110801110802110803110804110805110806110807110808110809110810110811110812110813110814110815110816110817110818110819110820110821110822110823110824110825110826110827110828110829110830110831110832110833110834110835110836110837110838110839110840110841110842110843110844110845110846110847110848110849110850110851110852110853110854110855110856110857110858110859110860110861110862110863110864110865110866110867110868110869110870110871110872110873110874110875110876110877110878110879110880110881110882110883110884110885110886110887110888110889110890110891110892110893110894110895110896110897110898110899110900110901110902110903110904110905110906110907110908110909110910110911110912110913110914110915110916110917110918110919110920110921110922110923110924110925110926110927110928110929110930110931110932110933110934110935110936110937110938110939110940110941110942110943110944110945110946110947110948110949110950110951110952110953110954110955110956110957110958110959110960110961110962110963110964110965110966110967110968110969110970110971110972110973110974110975110976110977110978110979110980110981110982110983110984110985110986110987110988110989110990110991110992110993110994110995110996110997110998110999111000111001111002111003111004111005111006111007111008111009111010111011111012111013111014111015111016111017111018111019111020111021111022111023111024111025111026111027111028111029111030111031111032111033111034111035111036111037111038111039111040111041111042111043111044111045111046111047111048111049111050111051111052111053111054111055111056111057111058111059111060111061111062111063111064111065111066111067111068111069111070111071111072111073111074111075111076111077111078111079111080111081111082111083111084111085111086111087111088111089111090111091111092111093111094111095111096111097111098111099111100111101111102111103111104111105111106111107111108111109111110111111111112111113111114111115111116111117111118111119111120111121111122111123111124111125111126111127111128111129111130111131111132111133111134111135111136111137111138111139111140111141111142111143111144111145111146111147111148111149111150111151111152111153111154111155111156111157111158111159111160111161111162111163111164111165111166111167111168111169111170111171111172111173111174111175111176111177111178111179111180111181111182111183111184111185111186111187111188111189111190111191111192111193111194111195111196111197111198111199111200111201111202111203111204111205111206111207111208111209111210111211111212111213111214111215111216111217111218111219111220111221111222111223111224111225111226111227111228111229111230111231111232111233111234111235111236111237111238111239111240111241111242111243111244111245111246111247111248111249111250111251111252111253111254111255111256111257111258111259111260111261111262111263111264111265111266111267111268111269111270111271111272111273111274111275111276111277111278111279111280111281111282111283111284111285111286111287111288111289111290111291111292111293111294111295111296111297111298111299111300111301111302111303111304111305111306111307111308111309111310111311111312111313111314111315111316111317111318111319111320111321111322111323111324111325111326111327111328111329111330111331111332111333111334111335111336111337111338111339111340111341111342111343111344111345111346111347111348111349111350111351111352111353111354111355111356111357111358111359111360111361111362111363111364111365111366111367111368111369111370111371111372111373111374111375111376111377111378111379111380111381111382111383111384111385111386111387111388111389111390111391111392111393111394111395111396111397111398111399111400111401111402111403111404111405111406111407111408111409111410111411111412111413111414111415111416111417111418111419111420111421111422111423111424111425111426111427111428111429111430111431111432111433111434111435111436111437111438111439111440111441111442111443111444111445111446111447111448111449111450111451111452111453111454111455111456111457111458111459111460111461111462111463111464111465111466111467111468111469111470111471111472111473111474111475111476111477111478111479111480111481111482111483111484111485111486111487111488111489111490111491111492111493111494111495111496111497111498111499111500111501111502111503111504111505111506111507111508111509111510111511111512111513111514111515111516111517111518111519111520111521111522111523111524111525111526111527111528111529111530111531111532111533111534111535111536111537111538111539111540111541111542111543111544111545111546111547111548111549111550111551111552111553111554111555111556111557111558111559111560111561111562111563111564111565111566111567111568111569111570111571111572111573111574111575111576111577111578111579111580111581111582111583111584111585111586111587111588111589111590111591111592111593111594111595111596111597111598111599111600111601111602111603111604111605111606111607111608111609111610111611111612111613111614111615111616111617111618111619111620111621111622111623111624111625111626111627111628111629111630111631111632111633111634111635111636111637111638111639111640111641111642111643111644111645111646111647111648111649111650111651111652111653111654111655111656111657111658111659111660111661111662111663111664111665111666111667111668111669111670111671111672111673111674111675111676111677111678111679111680111681111682111683111684111685111686111687111688111689111690111691111692111693111694111695111696111697111698111699111700111701111702111703111704111705111706111707111708111709111710111711111712111713111714111715111716111717111718111719111720111721111722111723111724111725111726111727111728111729111730111731111732111733111734111735111736111737111738111739111740111741111742111743111744111745111746111747111748111749111750111751111752111753111754111755111756111757111758111759111760111761111762111763111764111765111766111767111768111769111770111771111772111773111774111775111776111777111778111779111780111781111782111783111784111785111786111787111788111789111790111791111792111793111794111795111796111797111798111799111800111801111802111803111804111805111806111807111808111809111810111811111812111813111814111815111816111817111818111819111820111821111822111823111824111825111826111827111828111829111830111831111832111833111834111835111836111837111838111839111840111841111842111843111844111845111846111847111848111849111850111851111852111853111854111855111856111857111858111859111860111861111862111863111864111865111866111867111868111869111870111871111872111873111874111875111876111877111878111879111880111881111882111883111884111885111886111887111888111889111890111891111892111893111894111895111896111897111898111899111900111901111902111903111904111905111906111907111908111909111910111911111912111913111914111915111916111917111918111919111920111921111922111923111924111925111926111927111928111929111930111931111932111933111934111935111936111937111938111939111940111941111942111943111944111945111946111947111948111949111950111951111952111953111954111955111956111957111958111959111960111961111962111963111964111965111966111967111968111969111970111971111972111973111974111975111976111977111978111979111980111981111982111983111984111985111986111987111988111989111990111991111992111993111994111995111996111997111998111999112000112001112002112003112004112005112006112007112008112009112010112011112012112013112014112015112016112017112018112019112020112021112022112023112024112025112026112027112028112029112030112031112032112033112034112035112036112037112038112039112040112041112042112043112044112045112046112047112048112049112050112051112052112053112054112055112056112057112058112059112060112061112062112063112064112065112066112067112068112069112070112071112072112073112074112075112076112077112078112079112080112081112082112083112084112085112086112087112088112089112090112091112092112093112094112095112096112097112098112099112100112101112102112103112104112105112106112107112108112109112110112111112112112113112114112115112116112117112118112119112120112121112122112123112124112125112126112127112128112129112130112131112132112133112134112135112136112137112138112139112140112141112142112143112144112145112146112147112148112149112150112151112152112153112154112155112156112157112158112159112160112161112162112163112164112165112166112167112168112169112170112171112172112173112174112175112176112177112178112179112180112181112182112183112184112185112186112187112188112189112190112191112192112193112194112195112196112197112198112199112200112201112202112203112204112205112206112207112208112209112210112211112212112213112214112215112216112217112218112219112220112221112222112223112224112225112226112227112228112229112230112231112232112233112234112235112236112237112238112239112240112241112242112243112244112245112246112247112248112249112250112251112252112253112254112255112256112257112258112259112260112261112262112263112264112265112266112267112268112269112270112271112272112273112274112275112276112277112278112279112280112281112282112283112284112285112286112287112288112289112290112291112292112293112294112295 |
- {
- "time_consumption": 84.72992253303528,
- "name": "Default Testsession name",
- "number_of_tests": 67,
- "number_of_possibly_failed_tests": 0,
- "testcase_execution_level": 90,
- "testcase_names": {
- "0": "Single Test",
- "10": "Smoke Test (Minumum subset)",
- "50": "Short Test (Subset)",
- "90": "Full Test (all defined tests)"
- },
- "number_of_successfull_tests": 67,
- "number_of_failed_tests": 0,
- "testcases": {
- "Power On/ Off test for device and virtual device: zigbee/ffe/diningroom/powerplug_floorlamp": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: zigbee/ffe/diningroom/powerplug_floorlamp",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954614.326724,
- "msecs": 326.7240524291992,
- "relativeCreated": 222.96643257141113,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: zigbee/ffe/diningroom/powerplug_floorlamp",
- "asctime": "2023-02-09 15:56:54,326",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt",
- "msg": "Adding callback for topic %s",
- "args": [
- "__info__"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 70,
- "funcName": "add_callback",
- "created": 1675954614.3241336,
- "msecs": 324.13363456726074,
- "relativeCreated": 220.37601470947266,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Adding callback for topic __info__",
- "asctime": "2023-02-09 15:56:54,324"
- },
- {
- "name": "smart_brain.mqtt.__info__",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "__info__",
- "null"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954614.3243482,
- "msecs": 324.34821128845215,
- "relativeCreated": 220.59059143066406,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic __info__ and payload null",
- "asctime": "2023-02-09 15:56:54,324"
- }
- ],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954614.3269053,
- "msecs": 326.9052505493164,
- "relativeCreated": 223.14763069152832,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:54,326",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954614.3268197,
- "msecs": 326.81965827941895,
- "relativeCreated": 223.06203842163086,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:54,326"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954614.326863,
- "msecs": 326.86305046081543,
- "relativeCreated": 223.10543060302734,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:54,326"
- }
- ],
- "time_consumption": 4.220008850097656e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954614.6276383,
- "msecs": 627.6383399963379,
- "relativeCreated": 523.8807201385498,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:56:54,627",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954614.3269832,
- "msecs": 326.9832134246826,
- "relativeCreated": 223.22559356689453,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload on",
- "asctime": "2023-02-09 15:56:54,326"
- },
- {
- "name": "smart_brain.mqtt.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "__info__",
- "b'null'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954614.327394,
- "msecs": 327.3940086364746,
- "relativeCreated": 223.63638877868652,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic __info__ and payload b'null'",
- "asctime": "2023-02-09 15:56:54,327"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954614.3735678,
- "msecs": 373.5678195953369,
- "relativeCreated": 269.8101997375488,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'on'",
- "asctime": "2023-02-09 15:56:54,373"
- },
- {
- "name": "smart_brain.mqtt.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "__info__",
- "b'{\"app_name\": \"smart_brain\", \"version\": {\"readable\": \"1.0.1\", \"major\": 1, \"minor\": 0, \"patch\": 1}, \"git\": {\"url\": \"https://git.mount-mockery.de/smarthome/smart_brain.git\", \"ref\": \"0b74ff04c9f3cb8c2608c2bcc2ba7759195ea5f8\"}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954614.3738735,
- "msecs": 373.8734722137451,
- "relativeCreated": 270.11585235595703,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic __info__ and payload b'{\"app_name\": \"smart_brain\", \"version\": {\"readable\": \"1.0.1\", \"major\": 1, \"minor\": 0, \"patch\": 1}, \"git\": {\"url\": \"https://git.mount-mockery.de/smarthome/smart_brain.git\", \"ref\": \"0b74ff04c9f3cb8c2608c2bcc2ba7759195ea5f8\"}}'",
- "asctime": "2023-02-09 15:56:54,373"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954614.37413,
- "msecs": 374.1300106048584,
- "relativeCreated": 270.3723907470703,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true'",
- "asctime": "2023-02-09 15:56:54,374"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954614.3744109,
- "msecs": 374.41086769104004,
- "relativeCreated": 270.65324783325195,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:54,374"
- }
- ],
- "time_consumption": 0.25322747230529785
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954614.628335,
- "msecs": 628.3349990844727,
- "relativeCreated": 524.5773792266846,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:54,628",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954614.6280868,
- "msecs": 628.0868053436279,
- "relativeCreated": 524.3291854858398,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:54,628"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954614.628225,
- "msecs": 628.2250881195068,
- "relativeCreated": 524.4674682617188,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:54,628"
- }
- ],
- "time_consumption": 0.00010991096496582031
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954614.6287339,
- "msecs": 628.7338733673096,
- "relativeCreated": 524.9762535095215,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:54,628",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954614.628545,
- "msecs": 628.5450458526611,
- "relativeCreated": 524.787425994873,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:54,628"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954614.6286447,
- "msecs": 628.6447048187256,
- "relativeCreated": 524.8870849609375,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:54,628"
- }
- ],
- "time_consumption": 8.916854858398438e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954614.9309928,
- "msecs": 930.992841720581,
- "relativeCreated": 827.235221862793,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:56:54,930",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954614.6290085,
- "msecs": 629.0085315704346,
- "relativeCreated": 525.2509117126465,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/diningroom/floorlamp/state and payload false",
- "asctime": "2023-02-09 15:56:54,629"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954614.6301138,
- "msecs": 630.1138401031494,
- "relativeCreated": 526.3562202453613,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:56:54,630"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954614.6316884,
- "msecs": 631.6883563995361,
- "relativeCreated": 527.930736541748,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:56:54,631"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954614.6320987,
- "msecs": 632.0986747741699,
- "relativeCreated": 528.3410549163818,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload off",
- "asctime": "2023-02-09 15:56:54,632"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954614.6330817,
- "msecs": 633.0816745758057,
- "relativeCreated": 529.3240547180176,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'off'",
- "asctime": "2023-02-09 15:56:54,633"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954614.6765015,
- "msecs": 676.5015125274658,
- "relativeCreated": 572.7438926696777,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:56:54,676"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954614.6772835,
- "msecs": 677.283525466919,
- "relativeCreated": 573.5259056091309,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:54,677"
- }
- ],
- "time_consumption": 0.2537093162536621
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954614.9316864,
- "msecs": 931.6864013671875,
- "relativeCreated": 827.9287815093994,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:54,931",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954614.9314065,
- "msecs": 931.4064979553223,
- "relativeCreated": 827.6488780975342,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:54,931"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954614.9315748,
- "msecs": 931.574821472168,
- "relativeCreated": 827.8172016143799,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:54,931"
- }
- ],
- "time_consumption": 0.00011157989501953125
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954614.93205,
- "msecs": 932.0499897003174,
- "relativeCreated": 828.2923698425293,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:54,932",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954614.9318585,
- "msecs": 931.8585395812988,
- "relativeCreated": 828.1009197235107,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:54,931"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954614.9319584,
- "msecs": 931.9584369659424,
- "relativeCreated": 828.2008171081543,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:54,931"
- }
- ],
- "time_consumption": 9.1552734375e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954615.2332678,
- "msecs": 233.26778411865234,
- "relativeCreated": 1129.5101642608643,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:56:55,233",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954614.9322774,
- "msecs": 932.2774410247803,
- "relativeCreated": 828.5198211669922,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload on",
- "asctime": "2023-02-09 15:56:54,932"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954614.9333842,
- "msecs": 933.3841800689697,
- "relativeCreated": 829.6265602111816,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'on'",
- "asctime": "2023-02-09 15:56:54,933"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954614.9355483,
- "msecs": 935.5483055114746,
- "relativeCreated": 831.7906856536865,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true'",
- "asctime": "2023-02-09 15:56:54,935"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954614.936233,
- "msecs": 936.2330436706543,
- "relativeCreated": 832.4754238128662,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:54,936"
- }
- ],
- "time_consumption": 0.29703474044799805
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954615.2338557,
- "msecs": 233.8557243347168,
- "relativeCreated": 1130.0981044769287,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:55,233",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954615.2336164,
- "msecs": 233.61635208129883,
- "relativeCreated": 1129.8587322235107,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:55,233"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954615.2337344,
- "msecs": 233.7343692779541,
- "relativeCreated": 1129.976749420166,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:55,233"
- }
- ],
- "time_consumption": 0.00012135505676269531
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954615.2341971,
- "msecs": 234.19713973999023,
- "relativeCreated": 1130.4395198822021,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:55,234",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954615.2340252,
- "msecs": 234.025239944458,
- "relativeCreated": 1130.26762008667,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:55,234"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954615.2341182,
- "msecs": 234.11822319030762,
- "relativeCreated": 1130.3606033325195,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:55,234"
- }
- ],
- "time_consumption": 7.891654968261719e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954615.53628,
- "msecs": 536.2799167633057,
- "relativeCreated": 1432.5222969055176,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:56:55,536",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954615.234439,
- "msecs": 234.43889617919922,
- "relativeCreated": 1130.6812763214111,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/diningroom/floorlamp/state and payload false",
- "asctime": "2023-02-09 15:56:55,234"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.2354088,
- "msecs": 235.40878295898438,
- "relativeCreated": 1131.6511631011963,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:56:55,235"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.236864,
- "msecs": 236.8640899658203,
- "relativeCreated": 1133.1064701080322,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:56:55,236"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954615.2372715,
- "msecs": 237.27154731750488,
- "relativeCreated": 1133.5139274597168,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload off",
- "asctime": "2023-02-09 15:56:55,237"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.2381074,
- "msecs": 238.10744285583496,
- "relativeCreated": 1134.3498229980469,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'off'",
- "asctime": "2023-02-09 15:56:55,238"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.2817862,
- "msecs": 281.7862033843994,
- "relativeCreated": 1178.0285835266113,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:56:55,281"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.2824724,
- "msecs": 282.4723720550537,
- "relativeCreated": 1178.7147521972656,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:55,282"
- }
- ],
- "time_consumption": 0.25380754470825195
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954615.536865,
- "msecs": 536.8649959564209,
- "relativeCreated": 1433.1073760986328,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:55,536",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954615.5366488,
- "msecs": 536.6487503051758,
- "relativeCreated": 1432.8911304473877,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:55,536"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954615.5367703,
- "msecs": 536.7703437805176,
- "relativeCreated": 1433.0127239227295,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:55,536"
- }
- ],
- "time_consumption": 9.465217590332031e-05
- }
- ],
- "time_consumption": 1.2101409435272217,
- "time_start": "2023-02-09 15:56:54,326",
- "time_finished": "2023-02-09 15:56:55,536"
- },
- "Power On/ Off test for device and virtual device: shellies/ffe/diningroom/main_light": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: shellies/ffe/diningroom/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954615.537326,
- "msecs": 537.3260974884033,
- "relativeCreated": 1433.5684776306152,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: shellies/ffe/diningroom/main_light",
- "asctime": "2023-02-09 15:56:55,537",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954615.537724,
- "msecs": 537.7240180969238,
- "relativeCreated": 1433.9663982391357,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:55,537",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954615.5375416,
- "msecs": 537.5416278839111,
- "relativeCreated": 1433.784008026123,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:55,537"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954615.5376387,
- "msecs": 537.6386642456055,
- "relativeCreated": 1433.8810443878174,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:55,537"
- }
- ],
- "time_consumption": 8.535385131835938e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954615.838892,
- "msecs": 838.8919830322266,
- "relativeCreated": 1735.1343631744385,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:56:55,838",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/diningroom/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954615.5379376,
- "msecs": 537.9376411437988,
- "relativeCreated": 1434.1800212860107,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:56:55,537"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/diningroom/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.5389125,
- "msecs": 538.9125347137451,
- "relativeCreated": 1435.154914855957,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:56:55,538"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.5413184,
- "msecs": 541.318416595459,
- "relativeCreated": 1437.560796737671,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:56:55,541"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954615.5416737,
- "msecs": 541.6736602783203,
- "relativeCreated": 1437.9160404205322,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload on",
- "asctime": "2023-02-09 15:56:55,541"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.5422041,
- "msecs": 542.2041416168213,
- "relativeCreated": 1438.4465217590332,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:56:55,542"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.542843,
- "msecs": 542.8431034088135,
- "relativeCreated": 1439.0854835510254,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:55,542"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.543337,
- "msecs": 543.3371067047119,
- "relativeCreated": 1439.5794868469238,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'on'",
- "asctime": "2023-02-09 15:56:55,543"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.5854342,
- "msecs": 585.4341983795166,
- "relativeCreated": 1481.6765785217285,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true'",
- "asctime": "2023-02-09 15:56:55,585"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.58608,
- "msecs": 586.0800743103027,
- "relativeCreated": 1482.3224544525146,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:55,586"
- }
- ],
- "time_consumption": 0.25281190872192383
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954615.8394606,
- "msecs": 839.4606113433838,
- "relativeCreated": 1735.7029914855957,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:55,839",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954615.8392465,
- "msecs": 839.2465114593506,
- "relativeCreated": 1735.4888916015625,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:55,839"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954615.8393679,
- "msecs": 839.3678665161133,
- "relativeCreated": 1735.6102466583252,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:55,839"
- }
- ],
- "time_consumption": 9.274482727050781e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954615.8397703,
- "msecs": 839.7703170776367,
- "relativeCreated": 1736.0126972198486,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:55,839",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954615.839607,
- "msecs": 839.6070003509521,
- "relativeCreated": 1735.849380493164,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:55,839"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954615.8396928,
- "msecs": 839.6928310394287,
- "relativeCreated": 1735.9352111816406,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:55,839"
- }
- ],
- "time_consumption": 7.748603820800781e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954616.1409574,
- "msecs": 140.95735549926758,
- "relativeCreated": 2037.1997356414795,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:56:56,140",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954615.8400073,
- "msecs": 840.0073051452637,
- "relativeCreated": 1736.2496852874756,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/diningroom/main_light/state and payload false",
- "asctime": "2023-02-09 15:56:55,840"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.8409882,
- "msecs": 840.9881591796875,
- "relativeCreated": 1737.2305393218994,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:56:55,840"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/diningroom/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.8425682,
- "msecs": 842.5681591033936,
- "relativeCreated": 1738.8105392456055,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:56:55,842"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/diningroom/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954615.8429477,
- "msecs": 842.9477214813232,
- "relativeCreated": 1739.1901016235352,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:56:55,842"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/diningroom/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.8438118,
- "msecs": 843.8117504119873,
- "relativeCreated": 1740.0541305541992,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:56:55,843"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.8885155,
- "msecs": 888.5154724121094,
- "relativeCreated": 1784.7578525543213,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:56:55,888"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954615.8889248,
- "msecs": 888.9248371124268,
- "relativeCreated": 1785.1672172546387,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload off",
- "asctime": "2023-02-09 15:56:55,888"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.889516,
- "msecs": 889.5161151885986,
- "relativeCreated": 1785.7584953308105,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:56:55,889"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.8901572,
- "msecs": 890.1572227478027,
- "relativeCreated": 1786.3996028900146,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:55,890"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.8906565,
- "msecs": 890.6564712524414,
- "relativeCreated": 1786.8988513946533,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'off'",
- "asctime": "2023-02-09 15:56:55,890"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.9336886,
- "msecs": 933.6886405944824,
- "relativeCreated": 1829.9310207366943,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:56:55,933"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954615.934546,
- "msecs": 934.5459938049316,
- "relativeCreated": 1830.7883739471436,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:55,934"
- }
- ],
- "time_consumption": 0.20641136169433594
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954616.1416497,
- "msecs": 141.64972305297852,
- "relativeCreated": 2037.8921031951904,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:56,141",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954616.1414225,
- "msecs": 141.42251014709473,
- "relativeCreated": 2037.6648902893066,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:56,141"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954616.141551,
- "msecs": 141.55101776123047,
- "relativeCreated": 2037.7933979034424,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:56,141"
- }
- ],
- "time_consumption": 9.870529174804688e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954616.141974,
- "msecs": 141.97397232055664,
- "relativeCreated": 2038.2163524627686,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:56,141",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954616.1418047,
- "msecs": 141.80469512939453,
- "relativeCreated": 2038.0470752716064,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:56,141"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954616.141895,
- "msecs": 141.89505577087402,
- "relativeCreated": 2038.137435913086,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:56,141"
- }
- ],
- "time_consumption": 7.891654968261719e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954616.4431107,
- "msecs": 443.11070442199707,
- "relativeCreated": 2339.353084564209,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:56:56,443",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/diningroom/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954616.1421847,
- "msecs": 142.18473434448242,
- "relativeCreated": 2038.4271144866943,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:56:56,142"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/diningroom/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954616.143157,
- "msecs": 143.1570053100586,
- "relativeCreated": 2039.3993854522705,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:56:56,143"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954616.1456041,
- "msecs": 145.60413360595703,
- "relativeCreated": 2041.846513748169,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:56:56,145"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954616.1459486,
- "msecs": 145.9486484527588,
- "relativeCreated": 2042.1910285949707,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload on",
- "asctime": "2023-02-09 15:56:56,145"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954616.1464624,
- "msecs": 146.46244049072266,
- "relativeCreated": 2042.7048206329346,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:56:56,146"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954616.1470997,
- "msecs": 147.09973335266113,
- "relativeCreated": 2043.342113494873,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:56,147"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954616.1476107,
- "msecs": 147.61066436767578,
- "relativeCreated": 2043.8530445098877,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'on'",
- "asctime": "2023-02-09 15:56:56,147"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954616.1923487,
- "msecs": 192.34871864318848,
- "relativeCreated": 2088.5910987854004,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true'",
- "asctime": "2023-02-09 15:56:56,192"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954616.192996,
- "msecs": 192.99602508544922,
- "relativeCreated": 2089.238405227661,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:56,192"
- }
- ],
- "time_consumption": 0.25011467933654785
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954616.4437296,
- "msecs": 443.7296390533447,
- "relativeCreated": 2339.9720191955566,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:56,443",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954616.4434822,
- "msecs": 443.4821605682373,
- "relativeCreated": 2339.724540710449,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:56,443"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954616.443628,
- "msecs": 443.62807273864746,
- "relativeCreated": 2339.8704528808594,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:56,443"
- }
- ],
- "time_consumption": 0.00010156631469726562
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954616.4440536,
- "msecs": 444.05364990234375,
- "relativeCreated": 2340.2960300445557,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:56,444",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954616.4438853,
- "msecs": 443.88532638549805,
- "relativeCreated": 2340.12770652771,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:56,443"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954616.443975,
- "msecs": 443.97497177124023,
- "relativeCreated": 2340.217351913452,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:56,443"
- }
- ],
- "time_consumption": 7.867813110351562e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954616.7452826,
- "msecs": 745.2826499938965,
- "relativeCreated": 2641.5250301361084,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:56:56,745",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954616.4443097,
- "msecs": 444.3097114562988,
- "relativeCreated": 2340.5520915985107,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/diningroom/main_light/state and payload false",
- "asctime": "2023-02-09 15:56:56,444"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954616.4452822,
- "msecs": 445.2822208404541,
- "relativeCreated": 2341.524600982666,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:56:56,445"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/diningroom/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954616.447782,
- "msecs": 447.782039642334,
- "relativeCreated": 2344.024419784546,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:56:56,447"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/diningroom/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954616.448187,
- "msecs": 448.18711280822754,
- "relativeCreated": 2344.4294929504395,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:56:56,448"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/diningroom/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954616.449024,
- "msecs": 449.023962020874,
- "relativeCreated": 2345.266342163086,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:56:56,449"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954616.492252,
- "msecs": 492.2521114349365,
- "relativeCreated": 2388.4944915771484,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:56:56,492"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954616.492659,
- "msecs": 492.6590919494629,
- "relativeCreated": 2388.901472091675,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload off",
- "asctime": "2023-02-09 15:56:56,492"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954616.4932532,
- "msecs": 493.253231048584,
- "relativeCreated": 2389.495611190796,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:56:56,493"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954616.4939067,
- "msecs": 493.90673637390137,
- "relativeCreated": 2390.1491165161133,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:56,493"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954616.4944172,
- "msecs": 494.4171905517578,
- "relativeCreated": 2390.6595706939697,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'off'",
- "asctime": "2023-02-09 15:56:56,494"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954616.5377595,
- "msecs": 537.75954246521,
- "relativeCreated": 2434.001922607422,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:56:56,537"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954616.538495,
- "msecs": 538.4950637817383,
- "relativeCreated": 2434.73744392395,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:56,538"
- }
- ],
- "time_consumption": 0.2067875862121582
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954616.745988,
- "msecs": 745.9878921508789,
- "relativeCreated": 2642.230272293091,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:56,745",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954616.7457035,
- "msecs": 745.7034587860107,
- "relativeCreated": 2641.9458389282227,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:56,745"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954616.7458773,
- "msecs": 745.8772659301758,
- "relativeCreated": 2642.1196460723877,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:56,745"
- }
- ],
- "time_consumption": 0.000110626220703125
- }
- ],
- "time_consumption": 1.2086617946624756,
- "time_start": "2023-02-09 15:56:55,537",
- "time_finished": "2023-02-09 15:56:56,745"
- },
- "Power On/ Off synchronisation test: shellies/ffe/diningroom/main_light": {
- "name": "__tLogger__",
- "msg": "Power On/ Off synchronisation test: shellies/ffe/diningroom/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 24,
- "funcName": "test_power_on_off_sync",
- "created": 1675954616.7464573,
- "msecs": 746.4573383331299,
- "relativeCreated": 2642.699718475342,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off synchronisation test: shellies/ffe/diningroom/main_light",
- "asctime": "2023-02-09 15:56:56,746",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions for master device '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 30,
- "funcName": "__test_power_on_off_sync__",
- "created": 1675954617.0472033,
- "msecs": 47.20330238342285,
- "relativeCreated": 2943.4456825256348,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions for master device 'False'",
- "asctime": "2023-02-09 15:56:57,047",
- "moduleLogger": [],
- "time_consumption": 0.0
- },
- {
- "name": "__tLogger__",
- "msg": "Changing master device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off_sync__",
- "created": 1675954617.3496275,
- "msecs": 349.6274948120117,
- "relativeCreated": 3245.8698749542236,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing master device state to 'True'",
- "asctime": "2023-02-09 15:56:57,349",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/diningroom/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954617.0476649,
- "msecs": 47.66488075256348,
- "relativeCreated": 2943.9072608947754,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:56:57,047"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/diningroom/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.0488393,
- "msecs": 48.83933067321777,
- "relativeCreated": 2945.0817108154297,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:56:57,048"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.0514426,
- "msecs": 51.442623138427734,
- "relativeCreated": 2947.6850032806396,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:56:57,051"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954617.0518591,
- "msecs": 51.859140396118164,
- "relativeCreated": 2948.10152053833,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload on",
- "asctime": "2023-02-09 15:56:57,051"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.0524578,
- "msecs": 52.45780944824219,
- "relativeCreated": 2948.700189590454,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:56:57,052"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.0532117,
- "msecs": 53.21168899536133,
- "relativeCreated": 2949.4540691375732,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:57,053"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.053782,
- "msecs": 53.781986236572266,
- "relativeCreated": 2950.024366378784,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'on'",
- "asctime": "2023-02-09 15:56:57,053"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.0978267,
- "msecs": 97.82671928405762,
- "relativeCreated": 2994.0690994262695,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'true'",
- "asctime": "2023-02-09 15:56:57,097"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.098597,
- "msecs": 98.59704971313477,
- "relativeCreated": 2994.8394298553467,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:57,098"
- }
- ],
- "time_consumption": 0.25103044509887695
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954617.350298,
- "msecs": 350.2979278564453,
- "relativeCreated": 3246.540307998657,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:57,350",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954617.3500493,
- "msecs": 350.0492572784424,
- "relativeCreated": 3246.2916374206543,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:57,350"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954617.3501885,
- "msecs": 350.1884937286377,
- "relativeCreated": 3246.4308738708496,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:57,350"
- }
- ],
- "time_consumption": 0.00010943412780761719
- },
- {
- "name": "__tLogger__",
- "msg": "Changing master device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off_sync__",
- "created": 1675954617.651525,
- "msecs": 651.5250205993652,
- "relativeCreated": 3547.767400741577,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing master device state to 'False'",
- "asctime": "2023-02-09 15:56:57,651",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/diningroom/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954617.350593,
- "msecs": 350.59309005737305,
- "relativeCreated": 3246.835470199585,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/diningroom/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:56:57,350"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.diningroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/diningroom/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.351734,
- "msecs": 351.733922958374,
- "relativeCreated": 3247.976303100586,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/diningroom/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:56:57,351"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.3543541,
- "msecs": 354.3541431427002,
- "relativeCreated": 3250.596523284912,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:56:57,354"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954617.354785,
- "msecs": 354.7849655151367,
- "relativeCreated": 3251.0273456573486,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload off",
- "asctime": "2023-02-09 15:56:57,354"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.355395,
- "msecs": 355.3950786590576,
- "relativeCreated": 3251.6374588012695,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:56:57,355"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.3561277,
- "msecs": 356.1277389526367,
- "relativeCreated": 3252.3701190948486,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:57,356"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.diningroom.powerplug_floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/diningroom/powerplug_floorlamp/state",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.3566983,
- "msecs": 356.69827461242676,
- "relativeCreated": 3252.9406547546387,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/diningroom/powerplug_floorlamp/state and payload b'off'",
- "asctime": "2023-02-09 15:56:57,356"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.401029,
- "msecs": 401.029109954834,
- "relativeCreated": 3297.271490097046,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:56:57,401"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.diningroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/diningroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.4017994,
- "msecs": 401.79944038391113,
- "relativeCreated": 3298.041820526123,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/diningroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:57,401"
- }
- ],
- "time_consumption": 0.2497255802154541
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954617.6521306,
- "msecs": 652.1306037902832,
- "relativeCreated": 3548.372983932495,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:57,652",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954617.6518822,
- "msecs": 651.8821716308594,
- "relativeCreated": 3548.1245517730713,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:57,651"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954617.652006,
- "msecs": 652.0059108734131,
- "relativeCreated": 3548.248291015625,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/diningroom/powerplug_floorlamp) state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:57,652"
- }
- ],
- "time_consumption": 0.0001246929168701172
- }
- ],
- "time_consumption": 0.9056732654571533,
- "time_start": "2023-02-09 15:56:56,746",
- "time_finished": "2023-02-09 15:56:57,652"
- },
- "Power On/ Off test for device and virtual device: shellies/ffe/floor/main_light": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: shellies/ffe/floor/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954617.6525378,
- "msecs": 652.5378227233887,
- "relativeCreated": 3548.7802028656006,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: shellies/ffe/floor/main_light",
- "asctime": "2023-02-09 15:56:57,652",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954617.652912,
- "msecs": 652.911901473999,
- "relativeCreated": 3549.154281616211,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:57,652",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954617.6527283,
- "msecs": 652.7283191680908,
- "relativeCreated": 3548.9706993103027,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:57,652"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954617.6528277,
- "msecs": 652.8277397155762,
- "relativeCreated": 3549.070119857788,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:57,652"
- }
- ],
- "time_consumption": 8.416175842285156e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954617.955008,
- "msecs": 955.0080299377441,
- "relativeCreated": 3851.250410079956,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:56:57,955",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/floor/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954617.6531475,
- "msecs": 653.1474590301514,
- "relativeCreated": 3549.3898391723633,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/floor/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:56:57,653"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/floor/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.6541445,
- "msecs": 654.1445255279541,
- "relativeCreated": 3550.386905670166,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/floor/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:56:57,654"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/floor/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.6559663,
- "msecs": 655.9662818908691,
- "relativeCreated": 3552.208662033081,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/floor/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:56:57,655"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.656566,
- "msecs": 656.5659046173096,
- "relativeCreated": 3552.8082847595215,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:57,656"
- }
- ],
- "time_consumption": 0.29844212532043457
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954617.9557655,
- "msecs": 955.7654857635498,
- "relativeCreated": 3852.0078659057617,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:57,955",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954617.9554222,
- "msecs": 955.4221630096436,
- "relativeCreated": 3851.6645431518555,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:57,955"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954617.9555635,
- "msecs": 955.5635452270508,
- "relativeCreated": 3851.8059253692627,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:57,955"
- }
- ],
- "time_consumption": 0.00020194053649902344
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954617.9561894,
- "msecs": 956.1893939971924,
- "relativeCreated": 3852.4317741394043,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:57,956",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954617.9559896,
- "msecs": 955.9895992279053,
- "relativeCreated": 3852.231979370117,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:57,955"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954617.9560955,
- "msecs": 956.0954570770264,
- "relativeCreated": 3852.3378372192383,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:57,956"
- }
- ],
- "time_consumption": 9.393692016601562e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954618.257327,
- "msecs": 257.3270797729492,
- "relativeCreated": 4153.569459915161,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:56:58,257",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.floor.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/floor/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954617.9564714,
- "msecs": 956.4714431762695,
- "relativeCreated": 3852.7138233184814,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/floor/main_light/state and payload false",
- "asctime": "2023-02-09 15:56:57,956"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/floor/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.9576373,
- "msecs": 957.6373100280762,
- "relativeCreated": 3853.879690170288,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/floor/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:56:57,957"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/floor/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.9592464,
- "msecs": 959.2463970184326,
- "relativeCreated": 3855.4887771606445,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/floor/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:56:57,959"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/floor/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954617.9596617,
- "msecs": 959.6617221832275,
- "relativeCreated": 3855.9041023254395,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/floor/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:56:57,959"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/floor/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954617.9606557,
- "msecs": 960.655689239502,
- "relativeCreated": 3856.898069381714,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/floor/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:56:57,960"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/floor/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.0052164,
- "msecs": 5.216360092163086,
- "relativeCreated": 3901.458740234375,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/floor/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:56:58,005"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.0059602,
- "msecs": 5.960226058959961,
- "relativeCreated": 3902.202606201172,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:58,005"
- }
- ],
- "time_consumption": 0.25136685371398926
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954618.2579722,
- "msecs": 257.97224044799805,
- "relativeCreated": 4154.21462059021,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:58,257",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954618.2577233,
- "msecs": 257.723331451416,
- "relativeCreated": 4153.965711593628,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:58,257"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954618.2578616,
- "msecs": 257.8616142272949,
- "relativeCreated": 4154.103994369507,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:58,257"
- }
- ],
- "time_consumption": 0.000110626220703125
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954618.258337,
- "msecs": 258.33702087402344,
- "relativeCreated": 4154.579401016235,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:58,258",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954618.2581434,
- "msecs": 258.14342498779297,
- "relativeCreated": 4154.385805130005,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:58,258"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954618.2582445,
- "msecs": 258.24451446533203,
- "relativeCreated": 4154.486894607544,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:58,258"
- }
- ],
- "time_consumption": 9.250640869140625e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954618.5594208,
- "msecs": 559.4208240509033,
- "relativeCreated": 4455.663204193115,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:56:58,559",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/floor/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954618.2585676,
- "msecs": 258.56757164001465,
- "relativeCreated": 4154.809951782227,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/floor/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:56:58,258"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/floor/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.2596645,
- "msecs": 259.66453552246094,
- "relativeCreated": 4155.906915664673,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/floor/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:56:58,259"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/floor/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.2618456,
- "msecs": 261.84558868408203,
- "relativeCreated": 4158.087968826294,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/floor/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:56:58,261"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.2625055,
- "msecs": 262.50553131103516,
- "relativeCreated": 4158.747911453247,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:58,262"
- }
- ],
- "time_consumption": 0.29691529273986816
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954618.5601203,
- "msecs": 560.1203441619873,
- "relativeCreated": 4456.362724304199,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:58,560",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954618.5598335,
- "msecs": 559.8335266113281,
- "relativeCreated": 4456.07590675354,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:58,559"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954618.5600092,
- "msecs": 560.009241104126,
- "relativeCreated": 4456.251621246338,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:58,560"
- }
- ],
- "time_consumption": 0.00011110305786132812
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954618.5604856,
- "msecs": 560.4856014251709,
- "relativeCreated": 4456.727981567383,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:58,560",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954618.5602975,
- "msecs": 560.2974891662598,
- "relativeCreated": 4456.539869308472,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:58,560"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954618.5603979,
- "msecs": 560.3978633880615,
- "relativeCreated": 4456.640243530273,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:58,560"
- }
- ],
- "time_consumption": 8.7738037109375e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954618.8616138,
- "msecs": 861.6137504577637,
- "relativeCreated": 4757.856130599976,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:56:58,861",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.floor.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/floor/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954618.5607693,
- "msecs": 560.7693195343018,
- "relativeCreated": 4457.011699676514,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/floor/main_light/state and payload false",
- "asctime": "2023-02-09 15:56:58,560"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/floor/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.5619957,
- "msecs": 561.9957447052002,
- "relativeCreated": 4458.238124847412,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/floor/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:56:58,561"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/floor/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.5635262,
- "msecs": 563.5261535644531,
- "relativeCreated": 4459.768533706665,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/floor/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:56:58,563"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/floor/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954618.564474,
- "msecs": 564.4741058349609,
- "relativeCreated": 4460.716485977173,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/floor/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:56:58,564"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/floor/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.5654852,
- "msecs": 565.4852390289307,
- "relativeCreated": 4461.727619171143,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/floor/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:56:58,565"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/floor/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.6095595,
- "msecs": 609.5595359802246,
- "relativeCreated": 4505.8019161224365,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/floor/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:56:58,609"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.6102812,
- "msecs": 610.281229019165,
- "relativeCreated": 4506.523609161377,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:58,610"
- }
- ],
- "time_consumption": 0.25133252143859863
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954618.8624203,
- "msecs": 862.4203205108643,
- "relativeCreated": 4758.662700653076,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:58,862",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954618.8620555,
- "msecs": 862.0555400848389,
- "relativeCreated": 4758.297920227051,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:58,862"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954618.862248,
- "msecs": 862.2479438781738,
- "relativeCreated": 4758.490324020386,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:58,862"
- }
- ],
- "time_consumption": 0.0001723766326904297
- }
- ],
- "time_consumption": 1.2098824977874756,
- "time_start": "2023-02-09 15:56:57,652",
- "time_finished": "2023-02-09 15:56:58,862"
- },
- "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/circulation_pump": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/circulation_pump",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954618.8630393,
- "msecs": 863.0392551422119,
- "relativeCreated": 4759.281635284424,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/circulation_pump",
- "asctime": "2023-02-09 15:56:58,863",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954618.8636599,
- "msecs": 863.6598587036133,
- "relativeCreated": 4759.902238845825,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:58,863",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954618.8633304,
- "msecs": 863.3303642272949,
- "relativeCreated": 4759.572744369507,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:58,863"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954618.8635008,
- "msecs": 863.5008335113525,
- "relativeCreated": 4759.743213653564,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:58,863"
- }
- ],
- "time_consumption": 0.0001590251922607422
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954619.1664321,
- "msecs": 166.43214225769043,
- "relativeCreated": 5062.674522399902,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:56:59,166",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/circulation_pump/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954618.864019,
- "msecs": 864.0189170837402,
- "relativeCreated": 4760.261297225952,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload on",
- "asctime": "2023-02-09 15:56:58,864"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/circulation_pump/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.8654191,
- "msecs": 865.4191493988037,
- "relativeCreated": 4761.661529541016,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:56:58,865"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/timer",
- "b'600'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.8704922,
- "msecs": 870.4922199249268,
- "relativeCreated": 4766.734600067139,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/timer and payload b'600'",
- "asctime": "2023-02-09 15:56:58,870"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/__info__",
- "b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.8711424,
- "msecs": 871.1423873901367,
- "relativeCreated": 4767.384767532349,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/__info__ and payload b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:56:58,871"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0/command",
- "b'toggle'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.8717082,
- "msecs": 871.7081546783447,
- "relativeCreated": 4767.950534820557,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'toggle'",
- "asctime": "2023-02-09 15:56:58,871"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954618.8720438,
- "msecs": 872.0438480377197,
- "relativeCreated": 4768.286228179932,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:56:58,872"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.8725834,
- "msecs": 872.5833892822266,
- "relativeCreated": 4768.8257694244385,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'true'",
- "asctime": "2023-02-09 15:56:58,872"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/__info__",
- "b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.8733065,
- "msecs": 873.3065128326416,
- "relativeCreated": 4769.5488929748535,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/__info__ and payload b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:56:58,873"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.8738267,
- "msecs": 873.8267421722412,
- "relativeCreated": 4770.069122314453,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:56:58,873"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.9175644,
- "msecs": 917.5643920898438,
- "relativeCreated": 4813.806772232056,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:56:58,917"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954618.9183884,
- "msecs": 918.3883666992188,
- "relativeCreated": 4814.630746841431,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:58,918"
- }
- ],
- "time_consumption": 0.24804377555847168
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954619.167021,
- "msecs": 167.0210361480713,
- "relativeCreated": 5063.263416290283,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:59,167",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954619.1668024,
- "msecs": 166.80240631103516,
- "relativeCreated": 5063.044786453247,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:59,166"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954619.1669233,
- "msecs": 166.92328453063965,
- "relativeCreated": 5063.165664672852,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:59,166"
- }
- ],
- "time_consumption": 9.775161743164062e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954619.167401,
- "msecs": 167.40107536315918,
- "relativeCreated": 5063.643455505371,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:59,167",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954619.1672091,
- "msecs": 167.20914840698242,
- "relativeCreated": 5063.451528549194,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:59,167"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954619.167309,
- "msecs": 167.30904579162598,
- "relativeCreated": 5063.551425933838,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:59,167"
- }
- ],
- "time_consumption": 9.202957153320312e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954619.4685292,
- "msecs": 468.52922439575195,
- "relativeCreated": 5364.771604537964,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:56:59,468",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954619.1676514,
- "msecs": 167.65141487121582,
- "relativeCreated": 5063.893795013428,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/kitchen/circulation_pump/state and payload false",
- "asctime": "2023-02-09 15:56:59,167"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.1686268,
- "msecs": 168.6267852783203,
- "relativeCreated": 5064.869165420532,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'false'",
- "asctime": "2023-02-09 15:56:59,168"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/circulation_pump/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.1702409,
- "msecs": 170.2408790588379,
- "relativeCreated": 5066.48325920105,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:56:59,170"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/circulation_pump/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954619.1707516,
- "msecs": 170.75157165527344,
- "relativeCreated": 5066.993951797485,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload off",
- "asctime": "2023-02-09 15:56:59,170"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.1713126,
- "msecs": 171.3125705718994,
- "relativeCreated": 5067.554950714111,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:56:59,171"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954619.1716409,
- "msecs": 171.64087295532227,
- "relativeCreated": 5067.883253097534,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:56:59,171"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/circulation_pump/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.1724405,
- "msecs": 172.4405288696289,
- "relativeCreated": 5068.682909011841,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:56:59,172"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.1730137,
- "msecs": 173.01368713378906,
- "relativeCreated": 5069.256067276001,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:56:59,173"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/timer",
- "b'0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.2186234,
- "msecs": 218.62339973449707,
- "relativeCreated": 5114.865779876709,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/timer and payload b'0'",
- "asctime": "2023-02-09 15:56:59,218"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/__info__",
- "b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.2629094,
- "msecs": 262.9094123840332,
- "relativeCreated": 5159.151792526245,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/__info__ and payload b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:56:59,262"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.263615,
- "msecs": 263.6148929595947,
- "relativeCreated": 5159.857273101807,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'false'",
- "asctime": "2023-02-09 15:56:59,263"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/__info__",
- "b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.2642498,
- "msecs": 264.2498016357422,
- "relativeCreated": 5160.492181777954,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/__info__ and payload b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:56:59,264"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.2647488,
- "msecs": 264.74881172180176,
- "relativeCreated": 5160.991191864014,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:56:59,264"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.2653143,
- "msecs": 265.31434059143066,
- "relativeCreated": 5161.556720733643,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:59,265"
- }
- ],
- "time_consumption": 0.2032148838043213
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954619.4691715,
- "msecs": 469.17152404785156,
- "relativeCreated": 5365.4139041900635,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:59,469",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954619.468901,
- "msecs": 468.9009189605713,
- "relativeCreated": 5365.143299102783,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:59,468"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954619.4690201,
- "msecs": 469.02012825012207,
- "relativeCreated": 5365.262508392334,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:59,469"
- }
- ],
- "time_consumption": 0.0001513957977294922
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954619.4694974,
- "msecs": 469.4974422454834,
- "relativeCreated": 5365.739822387695,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:59,469",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954619.4693313,
- "msecs": 469.3312644958496,
- "relativeCreated": 5365.5736446380615,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:59,469"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954619.4694192,
- "msecs": 469.4192409515381,
- "relativeCreated": 5365.66162109375,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:59,469"
- }
- ],
- "time_consumption": 7.82012939453125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954619.77121,
- "msecs": 771.2099552154541,
- "relativeCreated": 5667.452335357666,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:56:59,771",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/circulation_pump/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954619.4697356,
- "msecs": 469.73562240600586,
- "relativeCreated": 5365.978002548218,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload on",
- "asctime": "2023-02-09 15:56:59,469"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/circulation_pump/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.4713564,
- "msecs": 471.3563919067383,
- "relativeCreated": 5367.59877204895,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:56:59,471"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/timer",
- "b'600'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.4748356,
- "msecs": 474.8356342315674,
- "relativeCreated": 5371.078014373779,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/timer and payload b'600'",
- "asctime": "2023-02-09 15:56:59,474"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/__info__",
- "b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.5182278,
- "msecs": 518.2278156280518,
- "relativeCreated": 5414.470195770264,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/__info__ and payload b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:56:59,518"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0/command",
- "b'toggle'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.5189092,
- "msecs": 518.909215927124,
- "relativeCreated": 5415.151596069336,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'toggle'",
- "asctime": "2023-02-09 15:56:59,518"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954619.5192657,
- "msecs": 519.2656517028809,
- "relativeCreated": 5415.508031845093,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:56:59,519"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.5198154,
- "msecs": 519.8154449462891,
- "relativeCreated": 5416.057825088501,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'true'",
- "asctime": "2023-02-09 15:56:59,519"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/__info__",
- "b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.520459,
- "msecs": 520.4589366912842,
- "relativeCreated": 5416.701316833496,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/__info__ and payload b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:56:59,520"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.5209572,
- "msecs": 520.9572315216064,
- "relativeCreated": 5417.199611663818,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:56:59,520"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.5653255,
- "msecs": 565.3254985809326,
- "relativeCreated": 5461.5678787231445,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:56:59,565"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.5660157,
- "msecs": 566.0157203674316,
- "relativeCreated": 5462.258100509644,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:59,566"
- }
- ],
- "time_consumption": 0.20519423484802246
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954619.7719114,
- "msecs": 771.9113826751709,
- "relativeCreated": 5668.153762817383,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:59,771",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954619.7716231,
- "msecs": 771.6231346130371,
- "relativeCreated": 5667.865514755249,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:59,771"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954619.7718003,
- "msecs": 771.8002796173096,
- "relativeCreated": 5668.0426597595215,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:59,771"
- }
- ],
- "time_consumption": 0.00011110305786132812
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954619.7722816,
- "msecs": 772.2816467285156,
- "relativeCreated": 5668.5240268707275,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:56:59,772",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954619.7720902,
- "msecs": 772.0901966094971,
- "relativeCreated": 5668.332576751709,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:59,772"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954619.7721918,
- "msecs": 772.1917629241943,
- "relativeCreated": 5668.434143066406,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:56:59,772"
- }
- ],
- "time_consumption": 8.988380432128906e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954620.0733137,
- "msecs": 73.31371307373047,
- "relativeCreated": 5969.556093215942,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:00,073",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954619.772557,
- "msecs": 772.5570201873779,
- "relativeCreated": 5668.79940032959,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/kitchen/circulation_pump/state and payload false",
- "asctime": "2023-02-09 15:56:59,772"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.7736456,
- "msecs": 773.6456394195557,
- "relativeCreated": 5669.888019561768,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'false'",
- "asctime": "2023-02-09 15:56:59,773"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/circulation_pump/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.7759447,
- "msecs": 775.944709777832,
- "relativeCreated": 5672.187089920044,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:56:59,775"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/circulation_pump/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954619.776374,
- "msecs": 776.374101638794,
- "relativeCreated": 5672.616481781006,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload off",
- "asctime": "2023-02-09 15:56:59,776"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.777024,
- "msecs": 777.0240306854248,
- "relativeCreated": 5673.266410827637,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:56:59,777"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954619.7774558,
- "msecs": 777.4558067321777,
- "relativeCreated": 5673.69818687439,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:56:59,777"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.circulation_pump.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/circulation_pump/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.778392,
- "msecs": 778.3920764923096,
- "relativeCreated": 5674.6344566345215,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/circulation_pump/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:56:59,778"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.7790601,
- "msecs": 779.0601253509521,
- "relativeCreated": 5675.302505493164,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:56:59,779"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/timer",
- "b'0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.8223827,
- "msecs": 822.3826885223389,
- "relativeCreated": 5718.625068664551,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/timer and payload b'0'",
- "asctime": "2023-02-09 15:56:59,822"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/__info__",
- "b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.8661072,
- "msecs": 866.1072254180908,
- "relativeCreated": 5762.349605560303,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/__info__ and payload b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:56:59,866"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.8668578,
- "msecs": 866.8577671051025,
- "relativeCreated": 5763.100147247314,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/state and payload b'false'",
- "asctime": "2023-02-09 15:56:59,866"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.circulation_pump.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/circulation_pump/__info__",
- "b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.8675518,
- "msecs": 867.5518035888672,
- "relativeCreated": 5763.794183731079,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/circulation_pump/__info__ and payload b'{\"__type__\": \"videv_switching_timer\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:56:59,867"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.8681471,
- "msecs": 868.1471347808838,
- "relativeCreated": 5764.389514923096,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:56:59,868"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954619.8687794,
- "msecs": 868.7794208526611,
- "relativeCreated": 5765.021800994873,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:56:59,868"
- }
- ],
- "time_consumption": 0.20453429222106934
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954620.0738955,
- "msecs": 73.89545440673828,
- "relativeCreated": 5970.13783454895,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:00,073",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954620.0736783,
- "msecs": 73.67825508117676,
- "relativeCreated": 5969.920635223389,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:00,073"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954620.0738008,
- "msecs": 73.80080223083496,
- "relativeCreated": 5970.043182373047,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:00,073"
- }
- ],
- "time_consumption": 9.465217590332031e-05
- }
- ],
- "time_consumption": 1.2108561992645264,
- "time_start": "2023-02-09 15:56:58,863",
- "time_finished": "2023-02-09 15:57:00,073"
- },
- "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/main_light": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954620.0743096,
- "msecs": 74.3095874786377,
- "relativeCreated": 5970.55196762085,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/main_light",
- "asctime": "2023-02-09 15:57:00,074",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954620.0746706,
- "msecs": 74.67055320739746,
- "relativeCreated": 5970.912933349609,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:00,074",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954620.0744927,
- "msecs": 74.4926929473877,
- "relativeCreated": 5970.7350730896,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:00,074"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954620.074588,
- "msecs": 74.58806037902832,
- "relativeCreated": 5970.83044052124,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:00,074"
- }
- ],
- "time_consumption": 8.249282836914062e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954620.3767362,
- "msecs": 376.7361640930176,
- "relativeCreated": 6272.9785442352295,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:00,376",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954620.0748672,
- "msecs": 74.86724853515625,
- "relativeCreated": 5971.109628677368,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:00,074"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954620.0758252,
- "msecs": 75.82521438598633,
- "relativeCreated": 5972.067594528198,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:00,075"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954620.0777988,
- "msecs": 77.79884338378906,
- "relativeCreated": 5974.041223526001,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:00,077"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954620.078381,
- "msecs": 78.38106155395508,
- "relativeCreated": 5974.623441696167,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:00,078"
- }
- ],
- "time_consumption": 0.2983551025390625
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954620.3773675,
- "msecs": 377.3674964904785,
- "relativeCreated": 6273.60987663269,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:00,377",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954620.3771248,
- "msecs": 377.1247863769531,
- "relativeCreated": 6273.367166519165,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:00,377"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954620.3772466,
- "msecs": 377.246618270874,
- "relativeCreated": 6273.488998413086,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:00,377"
- }
- ],
- "time_consumption": 0.00012087821960449219
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954620.3777065,
- "msecs": 377.70652770996094,
- "relativeCreated": 6273.948907852173,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:00,377",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954620.377523,
- "msecs": 377.52294540405273,
- "relativeCreated": 6273.765325546265,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:00,377"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954620.3776271,
- "msecs": 377.6271343231201,
- "relativeCreated": 6273.869514465332,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:00,377"
- }
- ],
- "time_consumption": 7.939338684082031e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954620.6790366,
- "msecs": 679.0366172790527,
- "relativeCreated": 6575.278997421265,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:00,679",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954620.3779504,
- "msecs": 377.95042991638184,
- "relativeCreated": 6274.192810058594,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/kitchen/main_light/state and payload false",
- "asctime": "2023-02-09 15:57:00,377"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954620.3789082,
- "msecs": 378.9081573486328,
- "relativeCreated": 6275.150537490845,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:00,378"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954620.380372,
- "msecs": 380.3720474243164,
- "relativeCreated": 6276.614427566528,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:57:00,380"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954620.3807414,
- "msecs": 380.7413578033447,
- "relativeCreated": 6276.983737945557,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:00,380"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954620.3816204,
- "msecs": 381.6204071044922,
- "relativeCreated": 6277.862787246704,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:00,381"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954620.4255621,
- "msecs": 425.56214332580566,
- "relativeCreated": 6321.804523468018,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:00,425"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954620.4262903,
- "msecs": 426.29027366638184,
- "relativeCreated": 6322.532653808594,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:00,426"
- }
- ],
- "time_consumption": 0.2527463436126709
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954620.67976,
- "msecs": 679.7599792480469,
- "relativeCreated": 6576.002359390259,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:00,679",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954620.6794655,
- "msecs": 679.4655323028564,
- "relativeCreated": 6575.707912445068,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:00,679"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954620.6796107,
- "msecs": 679.6107292175293,
- "relativeCreated": 6575.853109359741,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:00,679"
- }
- ],
- "time_consumption": 0.00014925003051757812
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954620.6801436,
- "msecs": 680.1435947418213,
- "relativeCreated": 6576.385974884033,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:00,680",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954620.679938,
- "msecs": 679.9380779266357,
- "relativeCreated": 6576.180458068848,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:00,679"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954620.6800392,
- "msecs": 680.0391674041748,
- "relativeCreated": 6576.281547546387,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:00,680"
- }
- ],
- "time_consumption": 0.00010442733764648438
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954620.98126,
- "msecs": 981.2600612640381,
- "relativeCreated": 6877.50244140625,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:00,981",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954620.6803775,
- "msecs": 680.3774833679199,
- "relativeCreated": 6576.619863510132,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:00,680"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954620.681487,
- "msecs": 681.4870834350586,
- "relativeCreated": 6577.7294635772705,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:00,681"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954620.6841612,
- "msecs": 684.1611862182617,
- "relativeCreated": 6580.403566360474,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:00,684"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954620.6848269,
- "msecs": 684.8268508911133,
- "relativeCreated": 6581.069231033325,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:00,684"
- }
- ],
- "time_consumption": 0.2964332103729248
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954620.9819412,
- "msecs": 981.9412231445312,
- "relativeCreated": 6878.183603286743,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:00,981",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954620.9816651,
- "msecs": 981.6651344299316,
- "relativeCreated": 6877.907514572144,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:00,981"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954620.9818027,
- "msecs": 981.8027019500732,
- "relativeCreated": 6878.045082092285,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:00,981"
- }
- ],
- "time_consumption": 0.0001385211944580078
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954620.982332,
- "msecs": 982.3319911956787,
- "relativeCreated": 6878.574371337891,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:00,982",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954620.9821372,
- "msecs": 982.1372032165527,
- "relativeCreated": 6878.379583358765,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:00,982"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954620.9822414,
- "msecs": 982.2413921356201,
- "relativeCreated": 6878.483772277832,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:00,982"
- }
- ],
- "time_consumption": 9.059906005859375e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954621.2836854,
- "msecs": 283.68544578552246,
- "relativeCreated": 7179.927825927734,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:01,283",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954620.9826052,
- "msecs": 982.6052188873291,
- "relativeCreated": 6878.847599029541,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/kitchen/main_light/state and payload false",
- "asctime": "2023-02-09 15:57:00,982"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954620.9837074,
- "msecs": 983.7074279785156,
- "relativeCreated": 6879.9498081207275,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:00,983"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954620.9853547,
- "msecs": 985.3546619415283,
- "relativeCreated": 6881.59704208374,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:57:00,985"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954620.9857416,
- "msecs": 985.7416152954102,
- "relativeCreated": 6881.983995437622,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/kitchen/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:00,985"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.kitchen.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/kitchen/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954620.9866104,
- "msecs": 986.6104125976562,
- "relativeCreated": 6882.852792739868,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/kitchen/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:00,986"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.0295386,
- "msecs": 29.538631439208984,
- "relativeCreated": 6925.781011581421,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:01,029"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.kitchen.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/kitchen/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.0301833,
- "msecs": 30.18331527709961,
- "relativeCreated": 6926.4256954193115,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/kitchen/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:01,030"
- }
- ],
- "time_consumption": 0.25350213050842285
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954621.284308,
- "msecs": 284.30795669555664,
- "relativeCreated": 7180.550336837769,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:01,284",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954621.284055,
- "msecs": 284.0549945831299,
- "relativeCreated": 7180.297374725342,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:01,284"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954621.2842102,
- "msecs": 284.210205078125,
- "relativeCreated": 7180.452585220337,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:01,284"
- }
- ],
- "time_consumption": 9.775161743164062e-05
- }
- ],
- "time_consumption": 1.209998369216919,
- "time_start": "2023-02-09 15:57:00,074",
- "time_finished": "2023-02-09 15:57:01,284"
- },
- "Brightness test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1": {
- "name": "__tLogger__",
- "msg": "Brightness test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 50,
- "funcName": "test_brightness",
- "created": 1675954621.2847364,
- "msecs": 284.73639488220215,
- "relativeCreated": 7180.978775024414,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Brightness test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1",
- "asctime": "2023-02-09 15:57:01,284",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 57,
- "funcName": "__test_brightness__",
- "created": 1675954621.5865624,
- "msecs": 586.5623950958252,
- "relativeCreated": 7482.804775238037,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:57:01,586",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954621.285146,
- "msecs": 285.14599800109863,
- "relativeCreated": 7181.388378143311,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:01,285"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.286125,
- "msecs": 286.12494468688965,
- "relativeCreated": 7182.367324829102,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:01,286"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.2897255,
- "msecs": 289.72554206848145,
- "relativeCreated": 7185.967922210693,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
- "asctime": "2023-02-09 15:57:01,289"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.2903469,
- "msecs": 290.3468608856201,
- "relativeCreated": 7186.589241027832,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:01,290"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.290895,
- "msecs": 290.8949851989746,
- "relativeCreated": 7187.1373653411865,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:01,290"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.2914126,
- "msecs": 291.4125919342041,
- "relativeCreated": 7187.654972076416,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:01,291"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.2919385,
- "msecs": 291.93854331970215,
- "relativeCreated": 7188.180923461914,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:01,291"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.2928822,
- "msecs": 292.88220405578613,
- "relativeCreated": 7189.124584197998,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:01,292"
- }
- ],
- "time_consumption": 0.29368019104003906
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954621.5872047,
- "msecs": 587.2046947479248,
- "relativeCreated": 7483.447074890137,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:01,587",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954621.5869567,
- "msecs": 586.9567394256592,
- "relativeCreated": 7483.199119567871,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:01,586"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954621.587095,
- "msecs": 587.0950222015381,
- "relativeCreated": 7483.33740234375,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:01,587"
- }
- ],
- "time_consumption": 0.00010967254638671875
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954621.8887236,
- "msecs": 888.723611831665,
- "relativeCreated": 7784.965991973877,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:01,888",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954621.5875607,
- "msecs": 587.5606536865234,
- "relativeCreated": 7483.803033828735,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:01,587"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.5886562,
- "msecs": 588.6561870574951,
- "relativeCreated": 7484.898567199707,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:01,588"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.591281,
- "msecs": 591.2809371948242,
- "relativeCreated": 7487.523317337036,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:01,591"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.5919626,
- "msecs": 591.9625759124756,
- "relativeCreated": 7488.2049560546875,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:01,591"
- }
- ],
- "time_consumption": 0.29676103591918945
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954621.8895864,
- "msecs": 889.5864486694336,
- "relativeCreated": 7785.8288288116455,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:01,889",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954621.8893209,
- "msecs": 889.3208503723145,
- "relativeCreated": 7785.563230514526,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:01,889"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954621.8894744,
- "msecs": 889.4743919372559,
- "relativeCreated": 7785.716772079468,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:01,889"
- }
- ],
- "time_consumption": 0.00011205673217773438
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954621.8899775,
- "msecs": 889.9774551391602,
- "relativeCreated": 7786.219835281372,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:01,889",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954621.8897846,
- "msecs": 889.784574508667,
- "relativeCreated": 7786.026954650879,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:01,889"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954621.8898861,
- "msecs": 889.8861408233643,
- "relativeCreated": 7786.128520965576,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:01,889"
- }
- ],
- "time_consumption": 9.131431579589844e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954622.1922095,
- "msecs": 192.20948219299316,
- "relativeCreated": 8088.451862335205,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:02,192",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954621.8902676,
- "msecs": 890.2676105499268,
- "relativeCreated": 7786.509990692139,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/livingroom/floorlamp/brightness and payload 50",
- "asctime": "2023-02-09 15:57:01,890"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.8913128,
- "msecs": 891.312837600708,
- "relativeCreated": 7787.55521774292,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:01,891"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.8950233,
- "msecs": 895.0233459472656,
- "relativeCreated": 7791.2657260894775,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:01,895"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954621.8954911,
- "msecs": 895.4911231994629,
- "relativeCreated": 7791.733503341675,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:01,895"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.896,
- "msecs": 895.9999084472656,
- "relativeCreated": 7792.2422885894775,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:01,895"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.8966074,
- "msecs": 896.6073989868164,
- "relativeCreated": 7792.849779129028,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:01,896"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.8971448,
- "msecs": 897.1447944641113,
- "relativeCreated": 7793.387174606323,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:01,897"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.8976371,
- "msecs": 897.637128829956,
- "relativeCreated": 7793.879508972168,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:01,897"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.8981059,
- "msecs": 898.1058597564697,
- "relativeCreated": 7794.348239898682,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:01,898"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.898565,
- "msecs": 898.5650539398193,
- "relativeCreated": 7794.807434082031,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:01,898"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.9422388,
- "msecs": 942.2388076782227,
- "relativeCreated": 7838.481187820435,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:01,942"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954621.9429278,
- "msecs": 942.9278373718262,
- "relativeCreated": 7839.170217514038,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:01,942"
- }
- ],
- "time_consumption": 0.249281644821167
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954622.1928697,
- "msecs": 192.8696632385254,
- "relativeCreated": 8089.112043380737,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:02,192",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954622.1926231,
- "msecs": 192.62313842773438,
- "relativeCreated": 8088.865518569946,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:02,192"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954622.1927617,
- "msecs": 192.76165962219238,
- "relativeCreated": 8089.004039764404,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:02,192"
- }
- ],
- "time_consumption": 0.00010800361633300781
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954622.193298,
- "msecs": 193.2981014251709,
- "relativeCreated": 8089.540481567383,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:02,193",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954622.193073,
- "msecs": 193.07303428649902,
- "relativeCreated": 8089.315414428711,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:02,193"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954622.1932092,
- "msecs": 193.20917129516602,
- "relativeCreated": 8089.451551437378,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:02,193"
- }
- ],
- "time_consumption": 8.893013000488281e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954622.4946342,
- "msecs": 494.63415145874023,
- "relativeCreated": 8390.876531600952,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:02,494",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954622.1936417,
- "msecs": 193.64166259765625,
- "relativeCreated": 8089.884042739868,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:02,193"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954622.1947305,
- "msecs": 194.7305202484131,
- "relativeCreated": 8090.972900390625,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:02,194"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954622.1973412,
- "msecs": 197.3412036895752,
- "relativeCreated": 8093.583583831787,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:02,197"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954622.1980217,
- "msecs": 198.02165031433105,
- "relativeCreated": 8094.264030456543,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:02,198"
- }
- ],
- "time_consumption": 0.2966125011444092
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954622.4952106,
- "msecs": 495.2106475830078,
- "relativeCreated": 8391.45302772522,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:02,495",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954622.494995,
- "msecs": 494.9951171875,
- "relativeCreated": 8391.237497329712,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:02,494"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954622.4951165,
- "msecs": 495.1164722442627,
- "relativeCreated": 8391.358852386475,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:02,495"
- }
- ],
- "time_consumption": 9.417533874511719e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954622.4955595,
- "msecs": 495.5594539642334,
- "relativeCreated": 8391.801834106445,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:02,495",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954622.4953585,
- "msecs": 495.3584671020508,
- "relativeCreated": 8391.600847244263,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:02,495"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954622.4954803,
- "msecs": 495.4802989959717,
- "relativeCreated": 8391.722679138184,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:02,495"
- }
- ],
- "time_consumption": 7.915496826171875e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954622.7977085,
- "msecs": 797.7085113525391,
- "relativeCreated": 8693.950891494751,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:02,797",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954622.4958186,
- "msecs": 495.8186149597168,
- "relativeCreated": 8392.060995101929,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/livingroom/floorlamp/brightness and payload 50",
- "asctime": "2023-02-09 15:57:02,495"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954622.4967935,
- "msecs": 496.7935085296631,
- "relativeCreated": 8393.035888671875,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:02,496"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954622.5006738,
- "msecs": 500.673770904541,
- "relativeCreated": 8396.916151046753,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:02,500"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954622.5011702,
- "msecs": 501.17015838623047,
- "relativeCreated": 8397.412538528442,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:02,501"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954622.5016937,
- "msecs": 501.6937255859375,
- "relativeCreated": 8397.93610572815,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:02,501"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954622.502296,
- "msecs": 502.29597091674805,
- "relativeCreated": 8398.53835105896,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:02,502"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954622.5027971,
- "msecs": 502.79712677001953,
- "relativeCreated": 8399.039506912231,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:02,502"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954622.5032713,
- "msecs": 503.27134132385254,
- "relativeCreated": 8399.513721466064,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:02,503"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954622.5037298,
- "msecs": 503.72982025146484,
- "relativeCreated": 8399.972200393677,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:02,503"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954622.504194,
- "msecs": 504.1940212249756,
- "relativeCreated": 8400.436401367188,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:02,504"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954622.5467203,
- "msecs": 546.7202663421631,
- "relativeCreated": 8442.962646484375,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:02,546"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954622.5474083,
- "msecs": 547.4083423614502,
- "relativeCreated": 8443.650722503662,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:02,547"
- }
- ],
- "time_consumption": 0.25030016899108887
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954622.7982867,
- "msecs": 798.2866764068604,
- "relativeCreated": 8694.529056549072,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:02,798",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954622.7980728,
- "msecs": 798.0728149414062,
- "relativeCreated": 8694.315195083618,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:02,798"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954622.7981927,
- "msecs": 798.1927394866943,
- "relativeCreated": 8694.435119628906,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:02,798"
- }
- ],
- "time_consumption": 9.393692016601562e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 74,
- "funcName": "__test_brightness__",
- "created": 1675954623.0996072,
- "msecs": 99.60722923278809,
- "relativeCreated": 8995.849609375,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:57:03,099",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954622.798642,
- "msecs": 798.6419200897217,
- "relativeCreated": 8694.884300231934,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:02,798"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954622.7996356,
- "msecs": 799.635648727417,
- "relativeCreated": 8695.878028869629,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:02,799"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954622.8020575,
- "msecs": 802.0575046539307,
- "relativeCreated": 8698.299884796143,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:57:02,802"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954622.8026452,
- "msecs": 802.645206451416,
- "relativeCreated": 8698.887586593628,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:02,802"
- }
- ],
- "time_consumption": 0.29696202278137207
- }
- ],
- "time_consumption": 1.814870834350586,
- "time_start": "2023-02-09 15:57:01,284",
- "time_finished": "2023-02-09 15:57:03,099"
- },
- "Color temperature test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1": {
- "name": "__tLogger__",
- "msg": "Color temperature test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 81,
- "funcName": "test_color_temp",
- "created": 1675954623.1002674,
- "msecs": 100.26741027832031,
- "relativeCreated": 8996.509790420532,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Color temperature test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1",
- "asctime": "2023-02-09 15:57:03,100",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 88,
- "funcName": "__test_color_temp__",
- "created": 1675954623.402552,
- "msecs": 402.55188941955566,
- "relativeCreated": 9298.794269561768,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:57:03,402",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954623.100664,
- "msecs": 100.66390037536621,
- "relativeCreated": 8996.906280517578,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:03,100"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954623.1016765,
- "msecs": 101.67646408081055,
- "relativeCreated": 8997.918844223022,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:03,101"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954623.1039495,
- "msecs": 103.94954681396484,
- "relativeCreated": 9000.191926956177,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
- "asctime": "2023-02-09 15:57:03,103"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954623.1045601,
- "msecs": 104.56013679504395,
- "relativeCreated": 9000.802516937256,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:03,104"
- }
- ],
- "time_consumption": 0.2979917526245117
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954623.4031177,
- "msecs": 403.1176567077637,
- "relativeCreated": 9299.360036849976,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:03,403",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954623.4029016,
- "msecs": 402.90164947509766,
- "relativeCreated": 9299.14402961731,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:03,402"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954623.4030225,
- "msecs": 403.02252769470215,
- "relativeCreated": 9299.264907836914,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:03,403"
- }
- ],
- "time_consumption": 9.512901306152344e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 94,
- "funcName": "__test_color_temp__",
- "created": 1675954623.7045069,
- "msecs": 704.5068740844727,
- "relativeCreated": 9600.749254226685,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device color temperature to '5'",
- "asctime": "2023-02-09 15:57:03,704",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954623.4034345,
- "msecs": 403.43451499938965,
- "relativeCreated": 9299.676895141602,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:03,403"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954623.4043727,
- "msecs": 404.3726921081543,
- "relativeCreated": 9300.615072250366,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:03,404"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/color_temp",
- "b'8.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954623.4066575,
- "msecs": 406.65745735168457,
- "relativeCreated": 9302.899837493896,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'8.0'",
- "asctime": "2023-02-09 15:57:03,406"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954623.4072578,
- "msecs": 407.2577953338623,
- "relativeCreated": 9303.500175476074,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:03,407"
- }
- ],
- "time_consumption": 0.29724907875061035
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954623.705199,
- "msecs": 705.1990032196045,
- "relativeCreated": 9601.441383361816,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:03,705",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954623.7049096,
- "msecs": 704.9095630645752,
- "relativeCreated": 9601.151943206787,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:03,704"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954623.7050767,
- "msecs": 705.0766944885254,
- "relativeCreated": 9601.319074630737,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:03,705"
- }
- ],
- "time_consumption": 0.00012230873107910156
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954623.7056038,
- "msecs": 705.603837966919,
- "relativeCreated": 9601.84621810913,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:03,705",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954623.7054121,
- "msecs": 705.4121494293213,
- "relativeCreated": 9601.654529571533,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:03,705"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954623.7055147,
- "msecs": 705.514669418335,
- "relativeCreated": 9601.757049560547,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:03,705"
- }
- ],
- "time_consumption": 8.916854858398438e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 100,
- "funcName": "__test_color_temp__",
- "created": 1675954624.0078425,
- "msecs": 7.842540740966797,
- "relativeCreated": 9904.084920883179,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device color temperature to '5'",
- "asctime": "2023-02-09 15:57:04,007",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954623.7058935,
- "msecs": 705.8935165405273,
- "relativeCreated": 9602.13589668274,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/livingroom/floorlamp/color_temp and payload 5",
- "asctime": "2023-02-09 15:57:03,705"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954623.7069945,
- "msecs": 706.9945335388184,
- "relativeCreated": 9603.23691368103,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:57:03,706"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954623.7107646,
- "msecs": 710.7646465301514,
- "relativeCreated": 9607.007026672363,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:03,710"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954623.711259,
- "msecs": 711.2588882446289,
- "relativeCreated": 9607.50126838684,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:03,711"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954623.711759,
- "msecs": 711.759090423584,
- "relativeCreated": 9608.001470565796,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:03,711"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954623.7123609,
- "msecs": 712.3608589172363,
- "relativeCreated": 9608.603239059448,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:03,712"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954623.7128425,
- "msecs": 712.8424644470215,
- "relativeCreated": 9609.084844589233,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:03,712"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954623.7133598,
- "msecs": 713.3598327636719,
- "relativeCreated": 9609.602212905884,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:03,713"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954623.7138202,
- "msecs": 713.820219039917,
- "relativeCreated": 9610.062599182129,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:03,713"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954623.7142863,
- "msecs": 714.2863273620605,
- "relativeCreated": 9610.528707504272,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:03,714"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954623.7585962,
- "msecs": 758.5961818695068,
- "relativeCreated": 9654.838562011719,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:03,758"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954623.7592962,
- "msecs": 759.296178817749,
- "relativeCreated": 9655.538558959961,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:03,759"
- }
- ],
- "time_consumption": 0.24854636192321777
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954624.0084581,
- "msecs": 8.458137512207031,
- "relativeCreated": 9904.700517654419,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:04,008",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954624.0082123,
- "msecs": 8.21232795715332,
- "relativeCreated": 9904.454708099365,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:04,008"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954624.0083618,
- "msecs": 8.36181640625,
- "relativeCreated": 9904.604196548462,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:04,008"
- }
- ],
- "time_consumption": 9.632110595703125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954624.0087843,
- "msecs": 8.784294128417969,
- "relativeCreated": 9905.02667427063,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:04,008",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954624.008611,
- "msecs": 8.610963821411133,
- "relativeCreated": 9904.853343963623,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:04,008"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954624.008701,
- "msecs": 8.701086044311523,
- "relativeCreated": 9904.943466186523,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:04,008"
- }
- ],
- "time_consumption": 8.320808410644531e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 94,
- "funcName": "__test_color_temp__",
- "created": 1675954624.3101838,
- "msecs": 310.1837635040283,
- "relativeCreated": 10206.42614364624,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device color temperature to '5'",
- "asctime": "2023-02-09 15:57:04,310",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954624.0091164,
- "msecs": 9.116411209106445,
- "relativeCreated": 9905.358791351318,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:04,009"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.010079,
- "msecs": 10.078907012939453,
- "relativeCreated": 9906.321287155151,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:04,010"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/color_temp",
- "b'8.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.0123508,
- "msecs": 12.350797653198242,
- "relativeCreated": 9908.59317779541,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'8.0'",
- "asctime": "2023-02-09 15:57:04,012"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.0129557,
- "msecs": 12.955665588378906,
- "relativeCreated": 9909.19804573059,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:04,012"
- }
- ],
- "time_consumption": 0.2972280979156494
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954624.3107903,
- "msecs": 310.7903003692627,
- "relativeCreated": 10207.032680511475,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:04,310",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954624.3105466,
- "msecs": 310.5466365814209,
- "relativeCreated": 10206.789016723633,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:04,310"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954624.310694,
- "msecs": 310.69397926330566,
- "relativeCreated": 10206.936359405518,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:04,310"
- }
- ],
- "time_consumption": 9.632110595703125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954624.3111162,
- "msecs": 311.11621856689453,
- "relativeCreated": 10207.358598709106,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:04,311",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954624.3109396,
- "msecs": 310.9395503997803,
- "relativeCreated": 10207.181930541992,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:04,310"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954624.3110244,
- "msecs": 311.02442741394043,
- "relativeCreated": 10207.266807556152,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:04,311"
- }
- ],
- "time_consumption": 9.179115295410156e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 100,
- "funcName": "__test_color_temp__",
- "created": 1675954624.6132512,
- "msecs": 613.2512092590332,
- "relativeCreated": 10509.493589401245,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device color temperature to '5'",
- "asctime": "2023-02-09 15:57:04,613",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954624.3113751,
- "msecs": 311.3751411437988,
- "relativeCreated": 10207.61752128601,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/livingroom/floorlamp/color_temp and payload 5",
- "asctime": "2023-02-09 15:57:04,311"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.3123446,
- "msecs": 312.3445510864258,
- "relativeCreated": 10208.586931228638,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:57:04,312"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.3157396,
- "msecs": 315.73963165283203,
- "relativeCreated": 10211.982011795044,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:04,315"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954624.3162074,
- "msecs": 316.2074089050293,
- "relativeCreated": 10212.449789047241,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:04,316"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.3167198,
- "msecs": 316.71977043151855,
- "relativeCreated": 10212.96215057373,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:04,316"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.3173478,
- "msecs": 317.34776496887207,
- "relativeCreated": 10213.590145111084,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:04,317"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.3178556,
- "msecs": 317.8555965423584,
- "relativeCreated": 10214.09797668457,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:04,317"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.318334,
- "msecs": 318.33410263061523,
- "relativeCreated": 10214.576482772827,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:04,318"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.3188052,
- "msecs": 318.8052177429199,
- "relativeCreated": 10215.047597885132,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:04,318"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.3192663,
- "msecs": 319.26631927490234,
- "relativeCreated": 10215.508699417114,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:04,319"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.3624742,
- "msecs": 362.4742031097412,
- "relativeCreated": 10258.716583251953,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:04,362"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.363155,
- "msecs": 363.1548881530762,
- "relativeCreated": 10259.397268295288,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:04,363"
- }
- ],
- "time_consumption": 0.25009632110595703
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954624.6138353,
- "msecs": 613.835334777832,
- "relativeCreated": 10510.077714920044,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:04,613",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954624.6136186,
- "msecs": 613.6186122894287,
- "relativeCreated": 10509.86099243164,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:04,613"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954624.6137393,
- "msecs": 613.7392520904541,
- "relativeCreated": 10509.981632232666,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:04,613"
- }
- ],
- "time_consumption": 9.608268737792969e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 105,
- "funcName": "__test_color_temp__",
- "created": 1675954624.9152904,
- "msecs": 915.290355682373,
- "relativeCreated": 10811.532735824585,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:57:04,915",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954624.6141987,
- "msecs": 614.1986846923828,
- "relativeCreated": 10510.441064834595,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:04,614"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.6151903,
- "msecs": 615.1902675628662,
- "relativeCreated": 10511.432647705078,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:04,615"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.617468,
- "msecs": 617.4681186676025,
- "relativeCreated": 10513.710498809814,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:57:04,617"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.6180563,
- "msecs": 618.0562973022461,
- "relativeCreated": 10514.298677444458,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:04,618"
- }
- ],
- "time_consumption": 0.29723405838012695
- }
- ],
- "time_consumption": 1.8150229454040527,
- "time_start": "2023-02-09 15:57:03,100",
- "time_finished": "2023-02-09 15:57:04,915"
- },
- "Power On/ Off test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954624.915938,
- "msecs": 915.9379005432129,
- "relativeCreated": 10812.180280685425,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1",
- "asctime": "2023-02-09 15:57:04,915",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954624.9163847,
- "msecs": 916.3846969604492,
- "relativeCreated": 10812.627077102661,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:04,916",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954624.9161623,
- "msecs": 916.1622524261475,
- "relativeCreated": 10812.40463256836,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:04,916"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954624.9162796,
- "msecs": 916.2795543670654,
- "relativeCreated": 10812.521934509277,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:04,916"
- }
- ],
- "time_consumption": 0.00010514259338378906
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954625.2186291,
- "msecs": 218.6291217803955,
- "relativeCreated": 11114.871501922607,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:05,218",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954624.9167109,
- "msecs": 916.7108535766602,
- "relativeCreated": 10812.953233718872,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:04,916"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.9177222,
- "msecs": 917.722225189209,
- "relativeCreated": 10813.96460533142,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:04,917"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.9199917,
- "msecs": 919.9917316436768,
- "relativeCreated": 10816.234111785889,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
- "asctime": "2023-02-09 15:57:04,919"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954624.9205818,
- "msecs": 920.5818176269531,
- "relativeCreated": 10816.824197769165,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:04,920"
- }
- ],
- "time_consumption": 0.2980473041534424
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954625.2192008,
- "msecs": 219.20084953308105,
- "relativeCreated": 11115.443229675293,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:05,219",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954625.2189887,
- "msecs": 218.98865699768066,
- "relativeCreated": 11115.231037139893,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:05,218"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954625.219107,
- "msecs": 219.10691261291504,
- "relativeCreated": 11115.349292755127,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:05,219"
- }
- ],
- "time_consumption": 9.393692016601562e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954625.219535,
- "msecs": 219.53511238098145,
- "relativeCreated": 11115.777492523193,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:05,219",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954625.2193491,
- "msecs": 219.34914588928223,
- "relativeCreated": 11115.591526031494,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:05,219"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954625.2194366,
- "msecs": 219.4366455078125,
- "relativeCreated": 11115.679025650024,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:05,219"
- }
- ],
- "time_consumption": 9.846687316894531e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954625.5208857,
- "msecs": 520.885705947876,
- "relativeCreated": 11417.128086090088,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:05,520",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954625.219798,
- "msecs": 219.79808807373047,
- "relativeCreated": 11116.040468215942,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/livingroom/floorlamp/state and payload false",
- "asctime": "2023-02-09 15:57:05,219"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.2207642,
- "msecs": 220.76416015625,
- "relativeCreated": 11117.006540298462,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:57:05,220"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.2240613,
- "msecs": 224.0612506866455,
- "relativeCreated": 11120.303630828857,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:05,224"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954625.2245407,
- "msecs": 224.54071044921875,
- "relativeCreated": 11120.78309059143,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:05,224"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.2250364,
- "msecs": 225.0363826751709,
- "relativeCreated": 11121.278762817383,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:05,225"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.2256737,
- "msecs": 225.67367553710938,
- "relativeCreated": 11121.916055679321,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:05,225"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.2261848,
- "msecs": 226.18484497070312,
- "relativeCreated": 11122.427225112915,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:05,226"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.2266505,
- "msecs": 226.65047645568848,
- "relativeCreated": 11122.8928565979,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:05,226"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.2271037,
- "msecs": 227.10371017456055,
- "relativeCreated": 11123.346090316772,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:05,227"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.2297661,
- "msecs": 229.7661304473877,
- "relativeCreated": 11126.0085105896,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:05,229"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.2714167,
- "msecs": 271.41666412353516,
- "relativeCreated": 11167.659044265747,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:57:05,271"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.272098,
- "msecs": 272.0980644226074,
- "relativeCreated": 11168.34044456482,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:05,272"
- }
- ],
- "time_consumption": 0.24878764152526855
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954625.521533,
- "msecs": 521.5330123901367,
- "relativeCreated": 11417.775392532349,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:05,521",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954625.5213144,
- "msecs": 521.3143825531006,
- "relativeCreated": 11417.556762695312,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:05,521"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954625.5214374,
- "msecs": 521.437406539917,
- "relativeCreated": 11417.679786682129,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:05,521"
- }
- ],
- "time_consumption": 9.560585021972656e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954625.5218596,
- "msecs": 521.8596458435059,
- "relativeCreated": 11418.102025985718,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:05,521",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954625.521683,
- "msecs": 521.6829776763916,
- "relativeCreated": 11417.925357818604,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:05,521"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954625.5217817,
- "msecs": 521.7816829681396,
- "relativeCreated": 11418.024063110352,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:05,521"
- }
- ],
- "time_consumption": 7.796287536621094e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954625.8240948,
- "msecs": 824.0947723388672,
- "relativeCreated": 11720.33715248108,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:05,824",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954625.5221817,
- "msecs": 522.1817493438721,
- "relativeCreated": 11418.424129486084,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:05,522"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.5231514,
- "msecs": 523.1513977050781,
- "relativeCreated": 11419.39377784729,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:05,523"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.5254369,
- "msecs": 525.4368782043457,
- "relativeCreated": 11421.679258346558,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
- "asctime": "2023-02-09 15:57:05,525"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.5260286,
- "msecs": 526.0286331176758,
- "relativeCreated": 11422.271013259888,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:05,526"
- }
- ],
- "time_consumption": 0.2980661392211914
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954625.824742,
- "msecs": 824.7420787811279,
- "relativeCreated": 11720.98445892334,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:05,824",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954625.8244977,
- "msecs": 824.4976997375488,
- "relativeCreated": 11720.74007987976,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:05,824"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954625.8246343,
- "msecs": 824.634313583374,
- "relativeCreated": 11720.876693725586,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:05,824"
- }
- ],
- "time_consumption": 0.00010776519775390625
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954625.8251746,
- "msecs": 825.1745700836182,
- "relativeCreated": 11721.41695022583,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:05,825",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954625.8249128,
- "msecs": 824.9127864837646,
- "relativeCreated": 11721.155166625977,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:05,824"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954625.8250778,
- "msecs": 825.0777721405029,
- "relativeCreated": 11721.320152282715,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:05,825"
- }
- ],
- "time_consumption": 9.679794311523438e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954626.1265712,
- "msecs": 126.5711784362793,
- "relativeCreated": 12022.813558578491,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:06,126",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954625.8254552,
- "msecs": 825.4551887512207,
- "relativeCreated": 11721.697568893433,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/livingroom/floorlamp/state and payload false",
- "asctime": "2023-02-09 15:57:05,825"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.826529,
- "msecs": 826.5290260314941,
- "relativeCreated": 11722.771406173706,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:57:05,826"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.8303065,
- "msecs": 830.3065299987793,
- "relativeCreated": 11726.548910140991,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:05,830"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954625.8308508,
- "msecs": 830.8508396148682,
- "relativeCreated": 11727.09321975708,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:05,830"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.8314373,
- "msecs": 831.437349319458,
- "relativeCreated": 11727.67972946167,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:05,831"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.8320312,
- "msecs": 832.03125,
- "relativeCreated": 11728.273630142212,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:05,832"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.8325107,
- "msecs": 832.5107097625732,
- "relativeCreated": 11728.753089904785,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:05,832"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.8329928,
- "msecs": 832.9927921295166,
- "relativeCreated": 11729.235172271729,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:05,832"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.8334773,
- "msecs": 833.477258682251,
- "relativeCreated": 11729.719638824463,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:05,833"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.8339338,
- "msecs": 833.9338302612305,
- "relativeCreated": 11730.176210403442,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:05,833"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.87938,
- "msecs": 879.3799877166748,
- "relativeCreated": 11775.622367858887,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:57:05,879"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954625.8800607,
- "msecs": 880.0606727600098,
- "relativeCreated": 11776.303052902222,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:05,880"
- }
- ],
- "time_consumption": 0.24651050567626953
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954626.1271598,
- "msecs": 127.15983390808105,
- "relativeCreated": 12023.402214050293,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:06,127",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954626.126944,
- "msecs": 126.94406509399414,
- "relativeCreated": 12023.186445236206,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:06,126"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954626.1270645,
- "msecs": 127.06446647644043,
- "relativeCreated": 12023.306846618652,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:06,127"
- }
- ],
- "time_consumption": 9.5367431640625e-05
- }
- ],
- "time_consumption": 1.2112219333648682,
- "time_start": "2023-02-09 15:57:04,915",
- "time_finished": "2023-02-09 15:57:06,127"
- },
- "Brightness test for device and virtual device: zigbee/ffe/livingroom/main_light": {
- "name": "__tLogger__",
- "msg": "Brightness test for device and virtual device: zigbee/ffe/livingroom/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 50,
- "funcName": "test_brightness",
- "created": 1675954626.1276438,
- "msecs": 127.64382362365723,
- "relativeCreated": 12023.88620376587,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Brightness test for device and virtual device: zigbee/ffe/livingroom/main_light",
- "asctime": "2023-02-09 15:57:06,127",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 57,
- "funcName": "__test_brightness__",
- "created": 1675954626.4292324,
- "msecs": 429.2323589324951,
- "relativeCreated": 12325.474739074707,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:57:06,429",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954626.1279092,
- "msecs": 127.90918350219727,
- "relativeCreated": 12024.15156364441,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:06,127"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954626.1284575,
- "msecs": 128.45754623413086,
- "relativeCreated": 12024.699926376343,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:06,128"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.12933,
- "msecs": 129.32991981506348,
- "relativeCreated": 12025.572299957275,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:06,129"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.1299222,
- "msecs": 129.92215156555176,
- "relativeCreated": 12026.164531707764,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:06,129"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.1736321,
- "msecs": 173.63214492797852,
- "relativeCreated": 12069.87452507019,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:06,173"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954626.174228,
- "msecs": 174.22795295715332,
- "relativeCreated": 12070.470333099365,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:06,174"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.1747925,
- "msecs": 174.79252815246582,
- "relativeCreated": 12071.034908294678,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:06,174"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954626.1752403,
- "msecs": 175.24027824401855,
- "relativeCreated": 12071.48265838623,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:06,175"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.1758187,
- "msecs": 175.81868171691895,
- "relativeCreated": 12072.06106185913,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:06,175"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954626.17626,
- "msecs": 176.25999450683594,
- "relativeCreated": 12072.502374649048,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:06,176"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.1767244,
- "msecs": 176.72443389892578,
- "relativeCreated": 12072.966814041138,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:06,176"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954626.177212,
- "msecs": 177.21199989318848,
- "relativeCreated": 12073.4543800354,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:06,177"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.177842,
- "msecs": 177.8419017791748,
- "relativeCreated": 12074.084281921387,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:06,177"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954626.1782832,
- "msecs": 178.2832145690918,
- "relativeCreated": 12074.525594711304,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:06,178"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.1787267,
- "msecs": 178.7266731262207,
- "relativeCreated": 12074.969053268433,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:06,178"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954626.1791515,
- "msecs": 179.1515350341797,
- "relativeCreated": 12075.393915176392,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:06,179"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.1797187,
- "msecs": 179.7187328338623,
- "relativeCreated": 12075.961112976074,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:06,179"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.1802673,
- "msecs": 180.267333984375,
- "relativeCreated": 12076.509714126587,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:06,180"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.1807916,
- "msecs": 180.79161643981934,
- "relativeCreated": 12077.033996582031,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:06,180"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.1813495,
- "msecs": 181.349515914917,
- "relativeCreated": 12077.591896057129,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:06,181"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.1819973,
- "msecs": 181.99729919433594,
- "relativeCreated": 12078.239679336548,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:06,181"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.1825216,
- "msecs": 182.52158164978027,
- "relativeCreated": 12078.763961791992,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:06,182"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.183,
- "msecs": 183.0000877380371,
- "relativeCreated": 12079.242467880249,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:06,183"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.1834662,
- "msecs": 183.46619606018066,
- "relativeCreated": 12079.708576202393,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:06,183"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.1839228,
- "msecs": 183.92276763916016,
- "relativeCreated": 12080.165147781372,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:06,183"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.1844103,
- "msecs": 184.41033363342285,
- "relativeCreated": 12080.652713775635,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:06,184"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.1848683,
- "msecs": 184.86833572387695,
- "relativeCreated": 12081.110715866089,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:06,184"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.1854007,
- "msecs": 185.40072441101074,
- "relativeCreated": 12081.643104553223,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:06,185"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.2216022,
- "msecs": 221.602201461792,
- "relativeCreated": 12117.844581604004,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
- "asctime": "2023-02-09 15:57:06,221"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.2223704,
- "msecs": 222.37038612365723,
- "relativeCreated": 12118.61276626587,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:06,222"
- }
- ],
- "time_consumption": 0.2068619728088379
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954626.4298277,
- "msecs": 429.8276901245117,
- "relativeCreated": 12326.070070266724,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:06,429",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954626.4296083,
- "msecs": 429.6083450317383,
- "relativeCreated": 12325.85072517395,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:06,429"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954626.4297326,
- "msecs": 429.7325611114502,
- "relativeCreated": 12325.974941253662,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:06,429"
- }
- ],
- "time_consumption": 9.512901306152344e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954626.7311728,
- "msecs": 731.1728000640869,
- "relativeCreated": 12627.415180206299,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:06,731",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954626.4301558,
- "msecs": 430.15575408935547,
- "relativeCreated": 12326.398134231567,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:06,430"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.431252,
- "msecs": 431.25200271606445,
- "relativeCreated": 12327.494382858276,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:06,431"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.433816,
- "msecs": 433.81595611572266,
- "relativeCreated": 12330.058336257935,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:06,433"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.434518,
- "msecs": 434.51809883117676,
- "relativeCreated": 12330.760478973389,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:06,434"
- }
- ],
- "time_consumption": 0.29665470123291016
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954626.7318156,
- "msecs": 731.8155765533447,
- "relativeCreated": 12628.057956695557,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:06,731",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954626.7315738,
- "msecs": 731.5738201141357,
- "relativeCreated": 12627.816200256348,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:06,731"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954626.7317088,
- "msecs": 731.7087650299072,
- "relativeCreated": 12627.95114517212,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:06,731"
- }
- ],
- "time_consumption": 0.0001068115234375
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954626.7322164,
- "msecs": 732.2163581848145,
- "relativeCreated": 12628.458738327026,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:06,732",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954626.7320225,
- "msecs": 732.0225238800049,
- "relativeCreated": 12628.264904022217,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:06,732"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954626.732127,
- "msecs": 732.1269512176514,
- "relativeCreated": 12628.369331359863,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:06,732"
- }
- ],
- "time_consumption": 8.940696716308594e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954627.0334098,
- "msecs": 33.409833908081055,
- "relativeCreated": 12929.652214050293,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:07,033",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954626.7325034,
- "msecs": 732.5034141540527,
- "relativeCreated": 12628.745794296265,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/livingroom/main_light/brightness and payload 50",
- "asctime": "2023-02-09 15:57:06,732"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.7336013,
- "msecs": 733.6013317108154,
- "relativeCreated": 12629.843711853027,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:06,733"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.7354062,
- "msecs": 735.4061603546143,
- "relativeCreated": 12631.648540496826,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:06,735"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954626.7359338,
- "msecs": 735.933780670166,
- "relativeCreated": 12632.176160812378,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:06,735"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.736879,
- "msecs": 736.8791103363037,
- "relativeCreated": 12633.121490478516,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:06,736"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.7806985,
- "msecs": 780.6985378265381,
- "relativeCreated": 12676.94091796875,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:06,780"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954626.781466,
- "msecs": 781.466007232666,
- "relativeCreated": 12677.708387374878,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:06,781"
- }
- ],
- "time_consumption": 0.25194382667541504
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954627.0340588,
- "msecs": 34.05880928039551,
- "relativeCreated": 12930.301189422607,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:07,034",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954627.0338151,
- "msecs": 33.81514549255371,
- "relativeCreated": 12930.057525634766,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:07,033"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954627.0339515,
- "msecs": 33.951520919799805,
- "relativeCreated": 12930.193901062012,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:07,033"
- }
- ],
- "time_consumption": 0.00010728836059570312
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954627.0344658,
- "msecs": 34.465789794921875,
- "relativeCreated": 12930.708169937134,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:07,034",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954627.03423,
- "msecs": 34.22999382019043,
- "relativeCreated": 12930.472373962402,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:07,034"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954627.0343666,
- "msecs": 34.366607666015625,
- "relativeCreated": 12930.608987808228,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:07,034"
- }
- ],
- "time_consumption": 9.918212890625e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954627.3358288,
- "msecs": 335.8287811279297,
- "relativeCreated": 13232.071161270142,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:07,335",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.0348015,
- "msecs": 34.801483154296875,
- "relativeCreated": 12931.043863296509,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:07,034"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.0358756,
- "msecs": 35.875558853149414,
- "relativeCreated": 12932.117938995361,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:07,035"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.0384948,
- "msecs": 38.49482536315918,
- "relativeCreated": 12934.737205505371,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:07,038"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.0391755,
- "msecs": 39.17551040649414,
- "relativeCreated": 12935.417890548706,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:07,039"
- }
- ],
- "time_consumption": 0.29665327072143555
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954627.3364782,
- "msecs": 336.47823333740234,
- "relativeCreated": 13232.720613479614,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:07,336",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954627.3362346,
- "msecs": 336.23456954956055,
- "relativeCreated": 13232.476949691772,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:07,336"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954627.33637,
- "msecs": 336.36999130249023,
- "relativeCreated": 13232.612371444702,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:07,336"
- }
- ],
- "time_consumption": 0.00010824203491210938
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954627.3368952,
- "msecs": 336.895227432251,
- "relativeCreated": 13233.137607574463,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:07,336",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954627.3366895,
- "msecs": 336.6894721984863,
- "relativeCreated": 13232.931852340698,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:07,336"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954627.3367908,
- "msecs": 336.7908000946045,
- "relativeCreated": 13233.033180236816,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:07,336"
- }
- ],
- "time_consumption": 0.00010442733764648438
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954627.6391,
- "msecs": 639.1000747680664,
- "relativeCreated": 13535.342454910278,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:07,639",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.3372269,
- "msecs": 337.22686767578125,
- "relativeCreated": 13233.469247817993,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/livingroom/main_light/brightness and payload 50",
- "asctime": "2023-02-09 15:57:07,337"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.3381948,
- "msecs": 338.1948471069336,
- "relativeCreated": 13234.437227249146,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:07,338"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.3397326,
- "msecs": 339.7326469421387,
- "relativeCreated": 13235.97502708435,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:07,339"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.340219,
- "msecs": 340.21902084350586,
- "relativeCreated": 13236.461400985718,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:07,340"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.3410752,
- "msecs": 341.07518196105957,
- "relativeCreated": 13237.317562103271,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:07,341"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.384338,
- "msecs": 384.3379020690918,
- "relativeCreated": 13280.580282211304,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:07,384"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.384993,
- "msecs": 384.9930763244629,
- "relativeCreated": 13281.235456466675,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:07,384"
- }
- ],
- "time_consumption": 0.2541069984436035
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954627.639714,
- "msecs": 639.7140026092529,
- "relativeCreated": 13535.956382751465,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:07,639",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954627.6394646,
- "msecs": 639.4646167755127,
- "relativeCreated": 13535.706996917725,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:07,639"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954627.6395884,
- "msecs": 639.5883560180664,
- "relativeCreated": 13535.830736160278,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:07,639"
- }
- ],
- "time_consumption": 0.00012564659118652344
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 74,
- "funcName": "__test_brightness__",
- "created": 1675954627.9409509,
- "msecs": 940.950870513916,
- "relativeCreated": 13837.193250656128,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:57:07,940",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.6399398,
- "msecs": 639.9397850036621,
- "relativeCreated": 13536.182165145874,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:07,639"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.6409671,
- "msecs": 640.9671306610107,
- "relativeCreated": 13537.209510803223,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:07,640"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.6454852,
- "msecs": 645.4851627349854,
- "relativeCreated": 13541.727542877197,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:07,645"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.6460142,
- "msecs": 646.0142135620117,
- "relativeCreated": 13542.256593704224,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:07,646"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.646527,
- "msecs": 646.5270519256592,
- "relativeCreated": 13542.769432067871,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:07,646"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.646723,
- "msecs": 646.7230319976807,
- "relativeCreated": 13542.965412139893,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:07,646"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.646986,
- "msecs": 646.9860076904297,
- "relativeCreated": 13543.228387832642,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:07,646"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.6471858,
- "msecs": 647.1858024597168,
- "relativeCreated": 13543.428182601929,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:07,647"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.6473854,
- "msecs": 647.3853588104248,
- "relativeCreated": 13543.627738952637,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:07,647"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.6475778,
- "msecs": 647.5777626037598,
- "relativeCreated": 13543.820142745972,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:07,647"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.6478188,
- "msecs": 647.8188037872314,
- "relativeCreated": 13544.061183929443,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:07,647"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.6480124,
- "msecs": 648.0123996734619,
- "relativeCreated": 13544.254779815674,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:07,648"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.6482062,
- "msecs": 648.2062339782715,
- "relativeCreated": 13544.448614120483,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:07,648"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.648393,
- "msecs": 648.392915725708,
- "relativeCreated": 13544.63529586792,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:07,648"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.6486306,
- "msecs": 648.6306190490723,
- "relativeCreated": 13544.872999191284,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:07,648"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.6488717,
- "msecs": 648.871660232544,
- "relativeCreated": 13545.114040374756,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:07,648"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.649101,
- "msecs": 649.1010189056396,
- "relativeCreated": 13545.343399047852,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:07,649"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.6493149,
- "msecs": 649.3148803710938,
- "relativeCreated": 13545.557260513306,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:07,649"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.6495528,
- "msecs": 649.5528221130371,
- "relativeCreated": 13545.795202255249,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:07,649"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.6498003,
- "msecs": 649.8003005981445,
- "relativeCreated": 13546.042680740356,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:07,649"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.6500406,
- "msecs": 650.0406265258789,
- "relativeCreated": 13546.28300666809,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:07,650"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.6502836,
- "msecs": 650.2835750579834,
- "relativeCreated": 13546.525955200195,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:07,650"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.6960282,
- "msecs": 696.0282325744629,
- "relativeCreated": 13592.270612716675,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:57:07,696"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.696743,
- "msecs": 696.7430114746094,
- "relativeCreated": 13592.985391616821,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:07,696"
- }
- ],
- "time_consumption": 0.24420785903930664
- }
- ],
- "time_consumption": 1.8133070468902588,
- "time_start": "2023-02-09 15:57:06,127",
- "time_finished": "2023-02-09 15:57:07,940"
- },
- "Color temperature test for device and virtual device: zigbee/ffe/livingroom/main_light": {
- "name": "__tLogger__",
- "msg": "Color temperature test for device and virtual device: zigbee/ffe/livingroom/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 81,
- "funcName": "test_color_temp",
- "created": 1675954627.9416728,
- "msecs": 941.6728019714355,
- "relativeCreated": 13837.915182113647,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Color temperature test for device and virtual device: zigbee/ffe/livingroom/main_light",
- "asctime": "2023-02-09 15:57:07,941",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 88,
- "funcName": "__test_color_temp__",
- "created": 1675954628.24337,
- "msecs": 243.37005615234375,
- "relativeCreated": 14139.612436294556,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:57:08,243",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.9419556,
- "msecs": 941.95556640625,
- "relativeCreated": 13838.197946548462,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:07,941"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.9425004,
- "msecs": 942.5003528594971,
- "relativeCreated": 13838.742733001709,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:07,942"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.9433513,
- "msecs": 943.3512687683105,
- "relativeCreated": 13839.593648910522,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:07,943"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.9439619,
- "msecs": 943.9618587493896,
- "relativeCreated": 13840.204238891602,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:07,943"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.9854858,
- "msecs": 985.4857921600342,
- "relativeCreated": 13881.728172302246,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:07,985"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.9859638,
- "msecs": 985.9638214111328,
- "relativeCreated": 13882.206201553345,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:07,985"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.9863837,
- "msecs": 986.3836765289307,
- "relativeCreated": 13882.626056671143,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:07,986"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.9867053,
- "msecs": 986.7053031921387,
- "relativeCreated": 13882.94768333435,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:07,986"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.9874709,
- "msecs": 987.4708652496338,
- "relativeCreated": 13883.713245391846,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:07,987"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.9877985,
- "msecs": 987.7984523773193,
- "relativeCreated": 13884.040832519531,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:07,987"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.988137,
- "msecs": 988.1370067596436,
- "relativeCreated": 13884.379386901855,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:07,988"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.9884453,
- "msecs": 988.4452819824219,
- "relativeCreated": 13884.687662124634,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:07,988"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.988842,
- "msecs": 988.8420104980469,
- "relativeCreated": 13885.084390640259,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:07,988"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.9891667,
- "msecs": 989.1667366027832,
- "relativeCreated": 13885.409116744995,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:07,989"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.9894893,
- "msecs": 989.4893169403076,
- "relativeCreated": 13885.73169708252,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:07,989"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954627.9897962,
- "msecs": 989.7961616516113,
- "relativeCreated": 13886.038541793823,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:07,989"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.990192,
- "msecs": 990.1919364929199,
- "relativeCreated": 13886.434316635132,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:07,990"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.9905906,
- "msecs": 990.5905723571777,
- "relativeCreated": 13886.83295249939,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:07,990"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.9909556,
- "msecs": 990.9555912017822,
- "relativeCreated": 13887.197971343994,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:07,990"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.9914393,
- "msecs": 991.4393424987793,
- "relativeCreated": 13887.681722640991,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:07,991"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.9919415,
- "msecs": 991.9414520263672,
- "relativeCreated": 13888.18383216858,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:07,991"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.9923983,
- "msecs": 992.3982620239258,
- "relativeCreated": 13888.640642166138,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:07,992"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.992854,
- "msecs": 992.854118347168,
- "relativeCreated": 13889.09649848938,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:07,992"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954627.9933553,
- "msecs": 993.3552742004395,
- "relativeCreated": 13889.597654342651,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:07,993"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954628.0339131,
- "msecs": 33.91313552856445,
- "relativeCreated": 13930.155515670776,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
- "asctime": "2023-02-09 15:57:08,033"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954628.034663,
- "msecs": 34.66296195983887,
- "relativeCreated": 13930.90534210205,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:08,034"
- }
- ],
- "time_consumption": 0.20870709419250488
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954628.243965,
- "msecs": 243.96491050720215,
- "relativeCreated": 14140.207290649414,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:08,243",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954628.2437196,
- "msecs": 243.71957778930664,
- "relativeCreated": 14139.961957931519,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:08,243"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954628.2438424,
- "msecs": 243.84236335754395,
- "relativeCreated": 14140.084743499756,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:08,243"
- }
- ],
- "time_consumption": 0.00012254714965820312
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 94,
- "funcName": "__test_color_temp__",
- "created": 1675954628.5453422,
- "msecs": 545.342206954956,
- "relativeCreated": 14441.584587097168,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device color temperature to '5'",
- "asctime": "2023-02-09 15:57:08,545",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954628.2442806,
- "msecs": 244.28057670593262,
- "relativeCreated": 14140.522956848145,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:08,244"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954628.2452025,
- "msecs": 245.20254135131836,
- "relativeCreated": 14141.44492149353,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:08,245"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/color_temp",
- "b'8.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954628.2472181,
- "msecs": 247.21813201904297,
- "relativeCreated": 14143.460512161255,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'8.0'",
- "asctime": "2023-02-09 15:57:08,247"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954628.2477553,
- "msecs": 247.7552890777588,
- "relativeCreated": 14143.99766921997,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:08,247"
- }
- ],
- "time_consumption": 0.29758691787719727
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954628.5459328,
- "msecs": 545.9327697753906,
- "relativeCreated": 14442.175149917603,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:08,545",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954628.5457075,
- "msecs": 545.7074642181396,
- "relativeCreated": 14441.949844360352,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:08,545"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954628.545833,
- "msecs": 545.8331108093262,
- "relativeCreated": 14442.075490951538,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:08,545"
- }
- ],
- "time_consumption": 9.965896606445312e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954628.5462453,
- "msecs": 546.2453365325928,
- "relativeCreated": 14442.487716674805,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:08,546",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954628.5460832,
- "msecs": 546.0832118988037,
- "relativeCreated": 14442.325592041016,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:08,546"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954628.5461693,
- "msecs": 546.1692810058594,
- "relativeCreated": 14442.411661148071,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:08,546"
- }
- ],
- "time_consumption": 7.605552673339844e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 100,
- "funcName": "__test_color_temp__",
- "created": 1675954628.8484313,
- "msecs": 848.4313488006592,
- "relativeCreated": 14744.673728942871,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device color temperature to '5'",
- "asctime": "2023-02-09 15:57:08,848",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954628.5465052,
- "msecs": 546.5052127838135,
- "relativeCreated": 14442.747592926025,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/livingroom/main_light/color_temp and payload 5",
- "asctime": "2023-02-09 15:57:08,546"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954628.5474968,
- "msecs": 547.4967956542969,
- "relativeCreated": 14443.739175796509,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:57:08,547"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954628.5490077,
- "msecs": 549.0076541900635,
- "relativeCreated": 14445.250034332275,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:08,549"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954628.5495138,
- "msecs": 549.5138168334961,
- "relativeCreated": 14445.756196975708,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:08,549"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954628.5503747,
- "msecs": 550.3747463226318,
- "relativeCreated": 14446.617126464844,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:08,550"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954628.5935097,
- "msecs": 593.5096740722656,
- "relativeCreated": 14489.752054214478,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:08,593"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954628.594163,
- "msecs": 594.1629409790039,
- "relativeCreated": 14490.405321121216,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:08,594"
- }
- ],
- "time_consumption": 0.2542684078216553
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954628.84924,
- "msecs": 849.2400646209717,
- "relativeCreated": 14745.482444763184,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:08,849",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954628.8488874,
- "msecs": 848.8874435424805,
- "relativeCreated": 14745.129823684692,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:08,848"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954628.8490963,
- "msecs": 849.0962982177734,
- "relativeCreated": 14745.338678359985,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:08,849"
- }
- ],
- "time_consumption": 0.0001437664031982422
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954628.849698,
- "msecs": 849.6980667114258,
- "relativeCreated": 14745.940446853638,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:08,849",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954628.8494515,
- "msecs": 849.4515419006348,
- "relativeCreated": 14745.693922042847,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:08,849"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954628.8496041,
- "msecs": 849.6041297912598,
- "relativeCreated": 14745.846509933472,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:08,849"
- }
- ],
- "time_consumption": 9.393692016601562e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 94,
- "funcName": "__test_color_temp__",
- "created": 1675954629.1510487,
- "msecs": 151.0486602783203,
- "relativeCreated": 15047.291040420532,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device color temperature to '5'",
- "asctime": "2023-02-09 15:57:09,151",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954628.8500578,
- "msecs": 850.05784034729,
- "relativeCreated": 14746.300220489502,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:08,850"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954628.8511667,
- "msecs": 851.1667251586914,
- "relativeCreated": 14747.409105300903,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:08,851"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/color_temp",
- "b'8.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954628.854222,
- "msecs": 854.2220592498779,
- "relativeCreated": 14750.46443939209,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'8.0'",
- "asctime": "2023-02-09 15:57:08,854"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954628.854905,
- "msecs": 854.9048900604248,
- "relativeCreated": 14751.147270202637,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:08,854"
- }
- ],
- "time_consumption": 0.2961437702178955
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954629.1516535,
- "msecs": 151.65352821350098,
- "relativeCreated": 15047.895908355713,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:09,151",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954629.1514378,
- "msecs": 151.43775939941406,
- "relativeCreated": 15047.680139541626,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:09,151"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954629.1515596,
- "msecs": 151.55959129333496,
- "relativeCreated": 15047.801971435547,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:09,151"
- }
- ],
- "time_consumption": 9.393692016601562e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954629.1519866,
- "msecs": 151.98659896850586,
- "relativeCreated": 15048.228979110718,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:09,151",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954629.1518035,
- "msecs": 151.80349349975586,
- "relativeCreated": 15048.045873641968,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:09,151"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954629.1519074,
- "msecs": 151.90744400024414,
- "relativeCreated": 15048.149824142456,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:09,151"
- }
- ],
- "time_consumption": 7.915496826171875e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 100,
- "funcName": "__test_color_temp__",
- "created": 1675954629.4531934,
- "msecs": 453.19342613220215,
- "relativeCreated": 15349.435806274414,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device color temperature to '5'",
- "asctime": "2023-02-09 15:57:09,453",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954629.1522505,
- "msecs": 152.2505283355713,
- "relativeCreated": 15048.492908477783,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/livingroom/main_light/color_temp and payload 5",
- "asctime": "2023-02-09 15:57:09,152"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.1532452,
- "msecs": 153.245210647583,
- "relativeCreated": 15049.487590789795,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:57:09,153"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.1547217,
- "msecs": 154.72173690795898,
- "relativeCreated": 15050.96411705017,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:09,154"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954629.1552076,
- "msecs": 155.20763397216797,
- "relativeCreated": 15051.45001411438,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:09,155"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.156026,
- "msecs": 156.02588653564453,
- "relativeCreated": 15052.268266677856,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:09,156"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.2011597,
- "msecs": 201.15971565246582,
- "relativeCreated": 15097.402095794678,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:09,201"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.2018132,
- "msecs": 201.8132209777832,
- "relativeCreated": 15098.055601119995,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:09,201"
- }
- ],
- "time_consumption": 0.25138020515441895
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954629.4538012,
- "msecs": 453.80115509033203,
- "relativeCreated": 15350.043535232544,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:09,453",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954629.4535596,
- "msecs": 453.55963706970215,
- "relativeCreated": 15349.802017211914,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:09,453"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954629.4537055,
- "msecs": 453.7055492401123,
- "relativeCreated": 15349.947929382324,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:09,453"
- }
- ],
- "time_consumption": 9.560585021972656e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 105,
- "funcName": "__test_color_temp__",
- "created": 1675954629.755163,
- "msecs": 755.1629543304443,
- "relativeCreated": 15651.405334472656,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:57:09,755",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954629.4540358,
- "msecs": 454.03575897216797,
- "relativeCreated": 15350.27813911438,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:09,454"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.4550805,
- "msecs": 455.080509185791,
- "relativeCreated": 15351.322889328003,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:09,455"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.4600816,
- "msecs": 460.0815773010254,
- "relativeCreated": 15356.323957443237,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:09,460"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954629.4605834,
- "msecs": 460.5834484100342,
- "relativeCreated": 15356.825828552246,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:09,460"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.4611459,
- "msecs": 461.14587783813477,
- "relativeCreated": 15357.388257980347,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:09,461"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954629.4615772,
- "msecs": 461.5771770477295,
- "relativeCreated": 15357.819557189941,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:09,461"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.4623888,
- "msecs": 462.3887538909912,
- "relativeCreated": 15358.631134033203,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:09,462"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.462956,
- "msecs": 462.9559516906738,
- "relativeCreated": 15359.198331832886,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:09,462"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.505515,
- "msecs": 505.51509857177734,
- "relativeCreated": 15401.75747871399,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:09,505"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954629.5060697,
- "msecs": 506.0696601867676,
- "relativeCreated": 15402.31204032898,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:09,506"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.5066054,
- "msecs": 506.6053867340088,
- "relativeCreated": 15402.84776687622,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:09,506"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954629.5070486,
- "msecs": 507.0486068725586,
- "relativeCreated": 15403.29098701477,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:09,507"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.507612,
- "msecs": 507.6119899749756,
- "relativeCreated": 15403.854370117188,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:09,507"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954629.5080345,
- "msecs": 508.03446769714355,
- "relativeCreated": 15404.276847839355,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:09,508"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.5085297,
- "msecs": 508.5296630859375,
- "relativeCreated": 15404.77204322815,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:09,508"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954629.5089545,
- "msecs": 508.9545249938965,
- "relativeCreated": 15405.196905136108,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:09,508"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.5095348,
- "msecs": 509.5348358154297,
- "relativeCreated": 15405.777215957642,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:09,509"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.5100732,
- "msecs": 510.073184967041,
- "relativeCreated": 15406.315565109253,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:09,510"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.5105646,
- "msecs": 510.56456565856934,
- "relativeCreated": 15406.806945800781,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:57:09,510"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.5110652,
- "msecs": 511.0652446746826,
- "relativeCreated": 15407.307624816895,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:09,511"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.5115676,
- "msecs": 511.5675926208496,
- "relativeCreated": 15407.809972763062,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:09,511"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.5120313,
- "msecs": 512.0313167572021,
- "relativeCreated": 15408.273696899414,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:09,512"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.512502,
- "msecs": 512.5019550323486,
- "relativeCreated": 15408.74433517456,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:09,512"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.5129554,
- "msecs": 512.9554271697998,
- "relativeCreated": 15409.197807312012,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:09,512"
- }
- ],
- "time_consumption": 0.24220752716064453
- }
- ],
- "time_consumption": 1.8134901523590088,
- "time_start": "2023-02-09 15:57:07,941",
- "time_finished": "2023-02-09 15:57:09,755"
- },
- "Power On/ Off test for device and virtual device: shellies/ffe/livingroom/main_light": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: shellies/ffe/livingroom/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954629.755853,
- "msecs": 755.8529376983643,
- "relativeCreated": 15652.095317840576,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: shellies/ffe/livingroom/main_light",
- "asctime": "2023-02-09 15:57:09,755",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954629.7563066,
- "msecs": 756.3066482543945,
- "relativeCreated": 15652.549028396606,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:09,756",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954629.7560933,
- "msecs": 756.0932636260986,
- "relativeCreated": 15652.33564376831,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:09,756"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954629.7562113,
- "msecs": 756.2112808227539,
- "relativeCreated": 15652.453660964966,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:09,756"
- }
- ],
- "time_consumption": 9.5367431640625e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954630.0589068,
- "msecs": 58.90679359436035,
- "relativeCreated": 15955.149173736572,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:10,058",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954629.7565103,
- "msecs": 756.5102577209473,
- "relativeCreated": 15652.75263786316,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:09,756"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954629.7570179,
- "msecs": 757.0178508758545,
- "relativeCreated": 15653.260231018066,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:09,757"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.7579126,
- "msecs": 757.9126358032227,
- "relativeCreated": 15654.155015945435,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:09,757"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.7585063,
- "msecs": 758.5062980651855,
- "relativeCreated": 15654.748678207397,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:09,758"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.8017457,
- "msecs": 801.7456531524658,
- "relativeCreated": 15697.988033294678,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:09,801"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954629.8023,
- "msecs": 802.299976348877,
- "relativeCreated": 15698.542356491089,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:09,802"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.8028178,
- "msecs": 802.8178215026855,
- "relativeCreated": 15699.060201644897,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:09,802"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954629.803242,
- "msecs": 803.2419681549072,
- "relativeCreated": 15699.48434829712,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:09,803"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.8038101,
- "msecs": 803.8101196289062,
- "relativeCreated": 15700.052499771118,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:09,803"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954629.8042285,
- "msecs": 804.2285442352295,
- "relativeCreated": 15700.470924377441,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:09,804"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.8046706,
- "msecs": 804.6705722808838,
- "relativeCreated": 15700.912952423096,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:09,804"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954629.805119,
- "msecs": 805.1190376281738,
- "relativeCreated": 15701.361417770386,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:09,805"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.8056767,
- "msecs": 805.6766986846924,
- "relativeCreated": 15701.919078826904,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:09,805"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954629.8060942,
- "msecs": 806.0941696166992,
- "relativeCreated": 15702.336549758911,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:09,806"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.8065305,
- "msecs": 806.5304756164551,
- "relativeCreated": 15702.772855758667,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:09,806"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954629.806937,
- "msecs": 806.9369792938232,
- "relativeCreated": 15703.179359436035,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:09,806"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.8074906,
- "msecs": 807.4905872344971,
- "relativeCreated": 15703.732967376709,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:09,807"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.8080363,
- "msecs": 808.0363273620605,
- "relativeCreated": 15704.278707504272,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:09,808"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.808535,
- "msecs": 808.535099029541,
- "relativeCreated": 15704.777479171753,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:09,808"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.8090177,
- "msecs": 809.0176582336426,
- "relativeCreated": 15705.260038375854,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:09,809"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.8095794,
- "msecs": 809.5793724060059,
- "relativeCreated": 15705.821752548218,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:09,809"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.8101673,
- "msecs": 810.1673126220703,
- "relativeCreated": 15706.409692764282,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:09,810"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.8106544,
- "msecs": 810.6544017791748,
- "relativeCreated": 15706.896781921387,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:09,810"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.8111358,
- "msecs": 811.1357688903809,
- "relativeCreated": 15707.378149032593,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:09,811"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.849743,
- "msecs": 849.7428894042969,
- "relativeCreated": 15745.985269546509,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
- "asctime": "2023-02-09 15:57:09,849"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954629.850498,
- "msecs": 850.4979610443115,
- "relativeCreated": 15746.740341186523,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:09,850"
- }
- ],
- "time_consumption": 0.20840883255004883
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954630.059626,
- "msecs": 59.626102447509766,
- "relativeCreated": 15955.868482589722,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:10,059",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954630.0593638,
- "msecs": 59.36384201049805,
- "relativeCreated": 15955.60622215271,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:10,059"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954630.0595095,
- "msecs": 59.5095157623291,
- "relativeCreated": 15955.751895904541,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:10,059"
- }
- ],
- "time_consumption": 0.00011658668518066406
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954630.0599964,
- "msecs": 59.99636650085449,
- "relativeCreated": 15956.238746643066,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:10,059",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954630.0598044,
- "msecs": 59.804439544677734,
- "relativeCreated": 15956.04681968689,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:10,059"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954630.0599058,
- "msecs": 59.9057674407959,
- "relativeCreated": 15956.148147583008,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:10,059"
- }
- ],
- "time_consumption": 9.059906005859375e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954630.3613591,
- "msecs": 361.3591194152832,
- "relativeCreated": 16257.601499557495,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:10,361",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.0602725,
- "msecs": 60.2724552154541,
- "relativeCreated": 15956.514835357666,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/livingroom/main_light/state and payload false",
- "asctime": "2023-02-09 15:57:10,060"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.061343,
- "msecs": 61.34295463562012,
- "relativeCreated": 15957.585334777832,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:10,061"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.0630677,
- "msecs": 63.06767463684082,
- "relativeCreated": 15959.310054779053,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:57:10,063"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.063529,
- "msecs": 63.529014587402344,
- "relativeCreated": 15959.771394729614,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:10,063"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.0645335,
- "msecs": 64.53347206115723,
- "relativeCreated": 15960.77585220337,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:10,064"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.1121433,
- "msecs": 112.14327812194824,
- "relativeCreated": 16008.38565826416,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:10,112"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.112797,
- "msecs": 112.79702186584473,
- "relativeCreated": 16009.039402008057,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,112"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.1135037,
- "msecs": 113.50369453430176,
- "relativeCreated": 16009.746074676514,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:10,113"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.1139991,
- "msecs": 113.9991283416748,
- "relativeCreated": 16010.241508483887,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,113"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.1147182,
- "msecs": 114.71819877624512,
- "relativeCreated": 16010.960578918457,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:10,114"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.1151552,
- "msecs": 115.15522003173828,
- "relativeCreated": 16011.39760017395,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,115"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.115618,
- "msecs": 115.61799049377441,
- "relativeCreated": 16011.860370635986,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:10,115"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.11603,
- "msecs": 116.02997779846191,
- "relativeCreated": 16012.272357940674,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,116"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.1166012,
- "msecs": 116.60122871398926,
- "relativeCreated": 16012.843608856201,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:10,116"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.1170168,
- "msecs": 117.01679229736328,
- "relativeCreated": 16013.259172439575,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,117"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.1174777,
- "msecs": 117.4776554107666,
- "relativeCreated": 16013.720035552979,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:10,117"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.1178982,
- "msecs": 117.89822578430176,
- "relativeCreated": 16014.140605926514,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,117"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.118458,
- "msecs": 118.45803260803223,
- "relativeCreated": 16014.700412750244,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:10,118"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.1190119,
- "msecs": 119.01187896728516,
- "relativeCreated": 16015.254259109497,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:10,119"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.119512,
- "msecs": 119.51208114624023,
- "relativeCreated": 16015.754461288452,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,119"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.1199846,
- "msecs": 119.98462677001953,
- "relativeCreated": 16016.227006912231,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,119"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.1204565,
- "msecs": 120.45645713806152,
- "relativeCreated": 16016.698837280273,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,120"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.1209104,
- "msecs": 120.9104061126709,
- "relativeCreated": 16017.152786254883,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,120"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.1213841,
- "msecs": 121.3841438293457,
- "relativeCreated": 16017.626523971558,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,121"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.1614938,
- "msecs": 161.49377822875977,
- "relativeCreated": 16057.736158370972,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,161"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.162134,
- "msecs": 162.13393211364746,
- "relativeCreated": 16058.37631225586,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:57:10,162"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.1631362,
- "msecs": 163.13624382019043,
- "relativeCreated": 16059.378623962402,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:10,163"
- }
- ],
- "time_consumption": 0.19822287559509277
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954630.362033,
- "msecs": 362.0328903198242,
- "relativeCreated": 16258.275270462036,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:10,362",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954630.3617902,
- "msecs": 361.7901802062988,
- "relativeCreated": 16258.03256034851,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:10,361"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954630.3619256,
- "msecs": 361.9256019592285,
- "relativeCreated": 16258.16798210144,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:10,361"
- }
- ],
- "time_consumption": 0.00010728836059570312
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954630.362391,
- "msecs": 362.39099502563477,
- "relativeCreated": 16258.633375167847,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:10,362",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954630.3622038,
- "msecs": 362.20383644104004,
- "relativeCreated": 16258.446216583252,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:10,362"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954630.3623028,
- "msecs": 362.3027801513672,
- "relativeCreated": 16258.54516029358,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:10,362"
- }
- ],
- "time_consumption": 8.821487426757812e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954630.6650105,
- "msecs": 665.0104522705078,
- "relativeCreated": 16561.25283241272,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:10,665",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.3626223,
- "msecs": 362.6222610473633,
- "relativeCreated": 16258.864641189575,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:10,362"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.363192,
- "msecs": 363.192081451416,
- "relativeCreated": 16259.434461593628,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,363"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.3640568,
- "msecs": 364.0568256378174,
- "relativeCreated": 16260.29920578003,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:10,364"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.364645,
- "msecs": 364.64500427246094,
- "relativeCreated": 16260.887384414673,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,364"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.4056082,
- "msecs": 405.6081771850586,
- "relativeCreated": 16301.85055732727,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:10,405"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.406188,
- "msecs": 406.1880111694336,
- "relativeCreated": 16302.430391311646,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,406"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.406759,
- "msecs": 406.75902366638184,
- "relativeCreated": 16303.001403808594,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:10,406"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.4071803,
- "msecs": 407.1803092956543,
- "relativeCreated": 16303.422689437866,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,407"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.407755,
- "msecs": 407.75489807128906,
- "relativeCreated": 16303.997278213501,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:10,407"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.408176,
- "msecs": 408.1759452819824,
- "relativeCreated": 16304.418325424194,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,408"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.4086192,
- "msecs": 408.6191654205322,
- "relativeCreated": 16304.861545562744,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:10,408"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.409026,
- "msecs": 409.0259075164795,
- "relativeCreated": 16305.268287658691,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,409"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.4095955,
- "msecs": 409.5954895019531,
- "relativeCreated": 16305.837869644165,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:10,409"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.4100103,
- "msecs": 410.01033782958984,
- "relativeCreated": 16306.252717971802,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,410"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.4104426,
- "msecs": 410.442590713501,
- "relativeCreated": 16306.684970855713,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:10,410"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.4108477,
- "msecs": 410.84766387939453,
- "relativeCreated": 16307.090044021606,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,410"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.4113774,
- "msecs": 411.3774299621582,
- "relativeCreated": 16307.61981010437,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:10,411"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.4119089,
- "msecs": 411.9088649749756,
- "relativeCreated": 16308.151245117188,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:10,411"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.4124074,
- "msecs": 412.40739822387695,
- "relativeCreated": 16308.649778366089,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,412"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.4128718,
- "msecs": 412.8718376159668,
- "relativeCreated": 16309.114217758179,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,412"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.4133742,
- "msecs": 413.3741855621338,
- "relativeCreated": 16309.616565704346,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,413"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.4138324,
- "msecs": 413.832426071167,
- "relativeCreated": 16310.074806213379,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,413"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.4142866,
- "msecs": 414.28661346435547,
- "relativeCreated": 16310.528993606567,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,414"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.4147391,
- "msecs": 414.73913192749023,
- "relativeCreated": 16310.981512069702,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,414"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.4536333,
- "msecs": 453.63330841064453,
- "relativeCreated": 16349.875688552856,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
- "asctime": "2023-02-09 15:57:10,453"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.4543767,
- "msecs": 454.3766975402832,
- "relativeCreated": 16350.619077682495,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:10,454"
- }
- ],
- "time_consumption": 0.2106337547302246
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954630.6656702,
- "msecs": 665.6701564788818,
- "relativeCreated": 16561.912536621094,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:10,665",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954630.6654162,
- "msecs": 665.4162406921387,
- "relativeCreated": 16561.65862083435,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:10,665"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954630.6655736,
- "msecs": 665.5735969543457,
- "relativeCreated": 16561.815977096558,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:10,665"
- }
- ],
- "time_consumption": 9.655952453613281e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954630.6659865,
- "msecs": 665.9865379333496,
- "relativeCreated": 16562.22891807556,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:10,665",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954630.6658225,
- "msecs": 665.8225059509277,
- "relativeCreated": 16562.06488609314,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:10,665"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954630.6659088,
- "msecs": 665.9088134765625,
- "relativeCreated": 16562.151193618774,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:10,665"
- }
- ],
- "time_consumption": 7.772445678710938e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954630.967179,
- "msecs": 967.1790599822998,
- "relativeCreated": 16863.42144012451,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:10,967",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.6662288,
- "msecs": 666.2287712097168,
- "relativeCreated": 16562.47115135193,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/livingroom/main_light/state and payload false",
- "asctime": "2023-02-09 15:57:10,666"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.6671934,
- "msecs": 667.1934127807617,
- "relativeCreated": 16563.435792922974,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:10,667"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.6686277,
- "msecs": 668.6277389526367,
- "relativeCreated": 16564.87011909485,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:57:10,668"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.6690657,
- "msecs": 669.0657138824463,
- "relativeCreated": 16565.30809402466,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:10,669"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.6699686,
- "msecs": 669.9686050415039,
- "relativeCreated": 16566.210985183716,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:10,669"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.714269,
- "msecs": 714.2689228057861,
- "relativeCreated": 16610.511302947998,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:10,714"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.714821,
- "msecs": 714.8211002349854,
- "relativeCreated": 16611.063480377197,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,714"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.7153454,
- "msecs": 715.3453826904297,
- "relativeCreated": 16611.58776283264,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:10,715"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.7157705,
- "msecs": 715.7704830169678,
- "relativeCreated": 16612.01286315918,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,715"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.7163694,
- "msecs": 716.3693904876709,
- "relativeCreated": 16612.611770629883,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:10,716"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.7167916,
- "msecs": 716.7916297912598,
- "relativeCreated": 16613.03400993347,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,716"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.7172635,
- "msecs": 717.2634601593018,
- "relativeCreated": 16613.505840301514,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:10,717"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.7176783,
- "msecs": 717.6783084869385,
- "relativeCreated": 16613.92068862915,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,717"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.7182584,
- "msecs": 718.2583808898926,
- "relativeCreated": 16614.500761032104,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:10,718"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.7186778,
- "msecs": 718.6777591705322,
- "relativeCreated": 16614.920139312744,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,718"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.7191153,
- "msecs": 719.1152572631836,
- "relativeCreated": 16615.357637405396,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:10,719"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.7195253,
- "msecs": 719.5253372192383,
- "relativeCreated": 16615.76771736145,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,719"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.7200856,
- "msecs": 720.085620880127,
- "relativeCreated": 16616.32800102234,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:10,720"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.7206082,
- "msecs": 720.6082344055176,
- "relativeCreated": 16616.85061454773,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:10,720"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.7211297,
- "msecs": 721.1296558380127,
- "relativeCreated": 16617.372035980225,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,721"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.7216125,
- "msecs": 721.6124534606934,
- "relativeCreated": 16617.854833602905,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,721"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.722069,
- "msecs": 722.0690250396729,
- "relativeCreated": 16618.311405181885,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,722"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.7225235,
- "msecs": 722.5234508514404,
- "relativeCreated": 16618.765830993652,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,722"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.722975,
- "msecs": 722.9750156402588,
- "relativeCreated": 16619.21739578247,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,722"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.761523,
- "msecs": 761.5230083465576,
- "relativeCreated": 16657.76538848877,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,761"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.7645097,
- "msecs": 764.5096778869629,
- "relativeCreated": 16660.752058029175,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:57:10,764"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.7651622,
- "msecs": 765.1622295379639,
- "relativeCreated": 16661.404609680176,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:10,765"
- }
- ],
- "time_consumption": 0.20201683044433594
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954630.9678147,
- "msecs": 967.8146839141846,
- "relativeCreated": 16864.057064056396,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:10,967",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954630.9675624,
- "msecs": 967.5624370574951,
- "relativeCreated": 16863.804817199707,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:10,967"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954630.9677174,
- "msecs": 967.7174091339111,
- "relativeCreated": 16863.959789276123,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:10,967"
- }
- ],
- "time_consumption": 9.72747802734375e-05
- }
- ],
- "time_consumption": 1.2119617462158203,
- "time_start": "2023-02-09 15:57:09,755",
- "time_finished": "2023-02-09 15:57:10,967"
- },
- "Brightness synchronisation test: videv/ffe/livingroom/floorlamp": {
- "name": "__tLogger__",
- "msg": "Brightness synchronisation test: videv/ffe/livingroom/floorlamp",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "test_brightness_sync",
- "created": 1675954630.9682794,
- "msecs": 968.2793617248535,
- "relativeCreated": 16864.521741867065,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Brightness synchronisation test: videv/ffe/livingroom/floorlamp",
- "asctime": "2023-02-09 15:57:10,968",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions for master device '%s' (Power on)",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 48,
- "funcName": "__test_brightness_sync__",
- "created": 1675954631.2709007,
- "msecs": 270.9007263183594,
- "relativeCreated": 17167.14310646057,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions for master device 'True' (Power on)",
- "asctime": "2023-02-09 15:57:11,270",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.9685328,
- "msecs": 968.5328006744385,
- "relativeCreated": 16864.77518081665,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:10,968"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954630.9690645,
- "msecs": 969.064474105835,
- "relativeCreated": 16865.306854248047,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:10,969"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.969936,
- "msecs": 969.9358940124512,
- "relativeCreated": 16866.178274154663,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:10,969"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954630.970529,
- "msecs": 970.5290794372559,
- "relativeCreated": 16866.771459579468,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:10,970"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.0135214,
- "msecs": 13.521432876586914,
- "relativeCreated": 16909.7638130188,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:11,013"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.014124,
- "msecs": 14.123916625976562,
- "relativeCreated": 16910.36629676819,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,014"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.0146585,
- "msecs": 14.658451080322266,
- "relativeCreated": 16910.900831222534,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:11,014"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.015085,
- "msecs": 15.084981918334961,
- "relativeCreated": 16911.327362060547,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,015"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.0156753,
- "msecs": 15.67530632019043,
- "relativeCreated": 16911.917686462402,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:11,015"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.0160573,
- "msecs": 16.057252883911133,
- "relativeCreated": 16912.299633026123,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,016"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.0164797,
- "msecs": 16.4797306060791,
- "relativeCreated": 16912.72211074829,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:11,016"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.0168476,
- "msecs": 16.847610473632812,
- "relativeCreated": 16913.089990615845,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,016"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.0173697,
- "msecs": 17.369747161865234,
- "relativeCreated": 16913.612127304077,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:11,017"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.0177486,
- "msecs": 17.748594284057617,
- "relativeCreated": 16913.99097442627,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,017"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.0181496,
- "msecs": 18.149614334106445,
- "relativeCreated": 16914.39199447632,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:11,018"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.018535,
- "msecs": 18.53489875793457,
- "relativeCreated": 16914.777278900146,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,018"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.0190132,
- "msecs": 19.013166427612305,
- "relativeCreated": 16915.255546569824,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:11,019"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.0195115,
- "msecs": 19.51146125793457,
- "relativeCreated": 16915.753841400146,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:11,019"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.0200129,
- "msecs": 20.012855529785156,
- "relativeCreated": 16916.255235671997,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,020"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.0204859,
- "msecs": 20.485877990722656,
- "relativeCreated": 16916.728258132935,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,020"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.0209575,
- "msecs": 20.957469940185547,
- "relativeCreated": 16917.199850082397,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,020"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.0214489,
- "msecs": 21.448850631713867,
- "relativeCreated": 16917.691230773926,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,021"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.0219033,
- "msecs": 21.903276443481445,
- "relativeCreated": 16918.145656585693,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,021"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.0223598,
- "msecs": 22.359848022460938,
- "relativeCreated": 16918.602228164673,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,022"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.0618868,
- "msecs": 61.88678741455078,
- "relativeCreated": 16958.129167556763,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
- "asctime": "2023-02-09 15:57:11,061"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.0626311,
- "msecs": 62.63113021850586,
- "relativeCreated": 16958.873510360718,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:11,062"
- }
- ],
- "time_consumption": 0.20826959609985352
- },
- {
- "name": "__tLogger__",
- "msg": "Changing master device brightness to '%d'",
- "args": [
- 35
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 56,
- "funcName": "__test_brightness_sync__",
- "created": 1675954631.5725336,
- "msecs": 572.5336074829102,
- "relativeCreated": 17468.775987625122,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing master device brightness to '35'",
- "asctime": "2023-02-09 15:57:11,572",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/brightness",
- "35"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.2714102,
- "msecs": 271.4102268218994,
- "relativeCreated": 17167.65260696411,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/livingroom/floorlamp/brightness and payload 35",
- "asctime": "2023-02-09 15:57:11,271"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/brightness",
- "b'35'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.2724304,
- "msecs": 272.430419921875,
- "relativeCreated": 17168.672800064087,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'35'",
- "asctime": "2023-02-09 15:57:11,272"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"brightness\": 90.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.2757754,
- "msecs": 275.7754325866699,
- "relativeCreated": 17172.017812728882,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"brightness\": 90.0}'",
- "asctime": "2023-02-09 15:57:11,275"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.2762454,
- "msecs": 276.2453556060791,
- "relativeCreated": 17172.48773574829,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,276"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"brightness\": 90.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.2767718,
- "msecs": 276.77178382873535,
- "relativeCreated": 17173.014163970947,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"brightness\": 90.0}'",
- "asctime": "2023-02-09 15:57:11,276"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.2772303,
- "msecs": 277.23026275634766,
- "relativeCreated": 17173.47264289856,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,277"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"brightness\": 90.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.2778032,
- "msecs": 277.8031826019287,
- "relativeCreated": 17174.04556274414,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"brightness\": 90.0}'",
- "asctime": "2023-02-09 15:57:11,277"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.2782147,
- "msecs": 278.214693069458,
- "relativeCreated": 17174.45707321167,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,278"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"brightness\": 90.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.2786777,
- "msecs": 278.67770195007324,
- "relativeCreated": 17174.920082092285,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"brightness\": 90.0}'",
- "asctime": "2023-02-09 15:57:11,278"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.279083,
- "msecs": 279.0830135345459,
- "relativeCreated": 17175.325393676758,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,279"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"brightness\": 90.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.279621,
- "msecs": 279.620885848999,
- "relativeCreated": 17175.86326599121,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"brightness\": 90.0}'",
- "asctime": "2023-02-09 15:57:11,279"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.2800322,
- "msecs": 280.0321578979492,
- "relativeCreated": 17176.27453804016,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,280"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"brightness\": 90.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.280465,
- "msecs": 280.46488761901855,
- "relativeCreated": 17176.70726776123,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"brightness\": 90.0}'",
- "asctime": "2023-02-09 15:57:11,280"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.2808962,
- "msecs": 280.8961868286133,
- "relativeCreated": 17177.138566970825,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,280"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.281451,
- "msecs": 281.4509868621826,
- "relativeCreated": 17177.693367004395,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,281"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.2819402,
- "msecs": 281.940221786499,
- "relativeCreated": 17178.18260192871,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,281"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.2824242,
- "msecs": 282.4242115020752,
- "relativeCreated": 17178.666591644287,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,282"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.282893,
- "msecs": 282.89294242858887,
- "relativeCreated": 17179.1353225708,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,282"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.2833455,
- "msecs": 283.34546089172363,
- "relativeCreated": 17179.587841033936,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,283"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.283799,
- "msecs": 283.7989330291748,
- "relativeCreated": 17180.041313171387,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,283"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/brightness",
- "b'35.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.3255298,
- "msecs": 325.5298137664795,
- "relativeCreated": 17221.77219390869,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'35.0'",
- "asctime": "2023-02-09 15:57:11,325"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.326229,
- "msecs": 326.2290954589844,
- "relativeCreated": 17222.471475601196,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:11,326"
- }
- ],
- "time_consumption": 0.24630451202392578
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness is correct (Content %s and Type is %s).",
- "args": [
- "35",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954631.573274,
- "msecs": 573.2738971710205,
- "relativeCreated": 17469.516277313232,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness is correct (Content 35 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:11,573",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness",
- "35",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954631.5729547,
- "msecs": 572.9546546936035,
- "relativeCreated": 17469.197034835815,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness): 35 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,572"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness",
- "=",
- "35",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954631.573132,
- "msecs": 573.1320381164551,
- "relativeCreated": 17469.374418258667,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness): result = 35 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,573"
- }
- ],
- "time_consumption": 0.0001418590545654297
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness is correct (Content %s and Type is %s).",
- "args": [
- "35",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954631.5736818,
- "msecs": 573.6818313598633,
- "relativeCreated": 17469.924211502075,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness is correct (Content 35 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:11,573",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness",
- "35",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954631.5734603,
- "msecs": 573.4603404998779,
- "relativeCreated": 17469.70272064209,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness): 35 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,573"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness",
- "=",
- "35",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954631.5735927,
- "msecs": 573.5926628112793,
- "relativeCreated": 17469.83504295349,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness): result = 35 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,573"
- }
- ],
- "time_consumption": 8.916854858398438e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness is correct (Content %s and Type is %s).",
- "args": [
- "35",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954631.574021,
- "msecs": 574.0211009979248,
- "relativeCreated": 17470.263481140137,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness is correct (Content 35 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:11,574",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness",
- "35",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954631.5738635,
- "msecs": 573.8635063171387,
- "relativeCreated": 17470.10588645935,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness): 35 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,573"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness",
- "=",
- "35",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954631.5739465,
- "msecs": 573.946475982666,
- "relativeCreated": 17470.188856124878,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness): result = 35 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,573"
- }
- ],
- "time_consumption": 7.462501525878906e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness is correct (Content %s and Type is %s).",
- "args": [
- "35",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954631.574323,
- "msecs": 574.3229389190674,
- "relativeCreated": 17470.56531906128,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness is correct (Content 35 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:11,574",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness",
- "35",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954631.57416,
- "msecs": 574.160099029541,
- "relativeCreated": 17470.402479171753,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness): 35 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,574"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness",
- "=",
- "35",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954631.574242,
- "msecs": 574.242115020752,
- "relativeCreated": 17470.484495162964,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness): result = 35 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,574"
- }
- ],
- "time_consumption": 8.082389831542969e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness is correct (Content %s and Type is %s).",
- "args": [
- "35",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954631.574619,
- "msecs": 574.6190547943115,
- "relativeCreated": 17470.861434936523,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness is correct (Content 35 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:11,574",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness",
- "35",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954631.5744503,
- "msecs": 574.4502544403076,
- "relativeCreated": 17470.69263458252,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness): 35 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,574"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness",
- "=",
- "35",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954631.5745463,
- "msecs": 574.5463371276855,
- "relativeCreated": 17470.788717269897,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness): result = 35 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,574"
- }
- ],
- "time_consumption": 7.271766662597656e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness is correct (Content %s and Type is %s).",
- "args": [
- "35",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954631.5749066,
- "msecs": 574.906587600708,
- "relativeCreated": 17471.14896774292,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness is correct (Content 35 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:11,574",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness",
- "35",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954631.5747442,
- "msecs": 574.7442245483398,
- "relativeCreated": 17470.98660469055,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness): 35 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,574"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness",
- "=",
- "35",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954631.5748334,
- "msecs": 574.8333930969238,
- "relativeCreated": 17471.075773239136,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness): result = 35 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,574"
- }
- ],
- "time_consumption": 7.319450378417969e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing master device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 56,
- "funcName": "__test_brightness_sync__",
- "created": 1675954631.8771155,
- "msecs": 877.1154880523682,
- "relativeCreated": 17773.35786819458,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing master device brightness to '50'",
- "asctime": "2023-02-09 15:57:11,877",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.575157,
- "msecs": 575.1569271087646,
- "relativeCreated": 17471.399307250977,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/livingroom/floorlamp/brightness and payload 50",
- "asctime": "2023-02-09 15:57:11,575"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.5760968,
- "msecs": 576.096773147583,
- "relativeCreated": 17472.339153289795,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:11,576"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.5795155,
- "msecs": 579.5154571533203,
- "relativeCreated": 17475.757837295532,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:11,579"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.5799854,
- "msecs": 579.9853801727295,
- "relativeCreated": 17476.22776031494,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,579"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.5804868,
- "msecs": 580.4867744445801,
- "relativeCreated": 17476.729154586792,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:11,580"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.5809216,
- "msecs": 580.9216499328613,
- "relativeCreated": 17477.164030075073,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,580"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.5815191,
- "msecs": 581.5191268920898,
- "relativeCreated": 17477.7615070343,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:11,581"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.5819356,
- "msecs": 581.9356441497803,
- "relativeCreated": 17478.178024291992,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,581"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.5823798,
- "msecs": 582.3798179626465,
- "relativeCreated": 17478.62219810486,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:11,582"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.582799,
- "msecs": 582.798957824707,
- "relativeCreated": 17479.04133796692,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,582"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.583345,
- "msecs": 583.3449363708496,
- "relativeCreated": 17479.58731651306,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:11,583"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.5837696,
- "msecs": 583.7695598602295,
- "relativeCreated": 17480.01194000244,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,583"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.5842025,
- "msecs": 584.2025279998779,
- "relativeCreated": 17480.44490814209,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:11,584"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.5846057,
- "msecs": 584.6056938171387,
- "relativeCreated": 17480.84807395935,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,584"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.585171,
- "msecs": 585.1709842681885,
- "relativeCreated": 17481.4133644104,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,585"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.5856664,
- "msecs": 585.6664180755615,
- "relativeCreated": 17481.908798217773,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,585"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.5861385,
- "msecs": 586.1384868621826,
- "relativeCreated": 17482.380867004395,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,586"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.5866263,
- "msecs": 586.6262912750244,
- "relativeCreated": 17482.868671417236,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,586"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.5870755,
- "msecs": 587.0754718780518,
- "relativeCreated": 17483.317852020264,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,587"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.5875335,
- "msecs": 587.5334739685059,
- "relativeCreated": 17483.775854110718,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,587"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.6295462,
- "msecs": 629.5461654663086,
- "relativeCreated": 17525.78854560852,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:11,629"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.6306958,
- "msecs": 630.6958198547363,
- "relativeCreated": 17526.93819999695,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:11,630"
- }
- ],
- "time_consumption": 0.24641966819763184
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954631.8778105,
- "msecs": 877.8104782104492,
- "relativeCreated": 17774.05285835266,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:11,877",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954631.8775618,
- "msecs": 877.5618076324463,
- "relativeCreated": 17773.80418777466,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,877"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954631.8777006,
- "msecs": 877.7005672454834,
- "relativeCreated": 17773.942947387695,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,877"
- }
- ],
- "time_consumption": 0.00010991096496582031
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954631.878179,
- "msecs": 878.1790733337402,
- "relativeCreated": 17774.421453475952,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:11,878",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954631.8779895,
- "msecs": 877.9895305633545,
- "relativeCreated": 17774.231910705566,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,877"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954631.8780901,
- "msecs": 878.0901432037354,
- "relativeCreated": 17774.332523345947,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,878"
- }
- ],
- "time_consumption": 8.893013000488281e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954631.878545,
- "msecs": 878.5450458526611,
- "relativeCreated": 17774.787425994873,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:11,878",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954631.8783624,
- "msecs": 878.3624172210693,
- "relativeCreated": 17774.60479736328,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,878"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954631.8784578,
- "msecs": 878.45778465271,
- "relativeCreated": 17774.700164794922,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,878"
- }
- ],
- "time_consumption": 8.726119995117188e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954631.8788886,
- "msecs": 878.8886070251465,
- "relativeCreated": 17775.13098716736,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:11,878",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954631.878697,
- "msecs": 878.6969184875488,
- "relativeCreated": 17774.93929862976,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,878"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954631.878803,
- "msecs": 878.803014755249,
- "relativeCreated": 17775.04539489746,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,878"
- }
- ],
- "time_consumption": 8.559226989746094e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954631.879223,
- "msecs": 879.223108291626,
- "relativeCreated": 17775.465488433838,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:11,879",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954631.87905,
- "msecs": 879.0500164031982,
- "relativeCreated": 17775.29239654541,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,879"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954631.8791409,
- "msecs": 879.1408538818359,
- "relativeCreated": 17775.383234024048,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,879"
- }
- ],
- "time_consumption": 8.225440979003906e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954631.8795373,
- "msecs": 879.5373439788818,
- "relativeCreated": 17775.779724121094,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:11,879",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954631.8793657,
- "msecs": 879.3656826019287,
- "relativeCreated": 17775.60806274414,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,879"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954631.8794553,
- "msecs": 879.4553279876709,
- "relativeCreated": 17775.697708129883,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:11,879"
- }
- ],
- "time_consumption": 8.20159912109375e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting preconditions for master device '%s' (Power off)",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 64,
- "funcName": "__test_brightness_sync__",
- "created": 1675954632.1808043,
- "msecs": 180.80425262451172,
- "relativeCreated": 18077.046632766724,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting preconditions for master device 'False' (Power off)",
- "asctime": "2023-02-09 15:57:12,180",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.8797717,
- "msecs": 879.7717094421387,
- "relativeCreated": 17776.01408958435,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:11,879"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.8808954,
- "msecs": 880.8953762054443,
- "relativeCreated": 17777.137756347656,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:11,880"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.8856955,
- "msecs": 885.6954574584961,
- "relativeCreated": 17781.937837600708,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:11,885"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.886177,
- "msecs": 886.1770629882812,
- "relativeCreated": 17782.419443130493,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,886"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.8866997,
- "msecs": 886.6996765136719,
- "relativeCreated": 17782.942056655884,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:11,886"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.8871214,
- "msecs": 887.1214389801025,
- "relativeCreated": 17783.363819122314,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,887"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.887688,
- "msecs": 887.6879215240479,
- "relativeCreated": 17783.93030166626,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:11,887"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.8881083,
- "msecs": 888.1082534790039,
- "relativeCreated": 17784.350633621216,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,888"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.8885567,
- "msecs": 888.556718826294,
- "relativeCreated": 17784.799098968506,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:11,888"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.8889854,
- "msecs": 888.9853954315186,
- "relativeCreated": 17785.22777557373,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,888"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.8895586,
- "msecs": 889.5585536956787,
- "relativeCreated": 17785.80093383789,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:11,889"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.8899748,
- "msecs": 889.97483253479,
- "relativeCreated": 17786.217212677002,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,889"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.890412,
- "msecs": 890.4120922088623,
- "relativeCreated": 17786.654472351074,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:11,890"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954631.890823,
- "msecs": 890.8228874206543,
- "relativeCreated": 17787.065267562866,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:11,890"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.8913736,
- "msecs": 891.3736343383789,
- "relativeCreated": 17787.61601448059,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:11,891"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.8919196,
- "msecs": 891.9196128845215,
- "relativeCreated": 17788.161993026733,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:11,891"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.892416,
- "msecs": 892.4160003662109,
- "relativeCreated": 17788.658380508423,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,892"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.8929198,
- "msecs": 892.9197788238525,
- "relativeCreated": 17789.162158966064,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,892"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.8934336,
- "msecs": 893.4335708618164,
- "relativeCreated": 17789.67595100403,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,893"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.893927,
- "msecs": 893.9270973205566,
- "relativeCreated": 17790.16947746277,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,893"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.8944228,
- "msecs": 894.4227695465088,
- "relativeCreated": 17790.66514968872,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,894"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.8949194,
- "msecs": 894.9193954467773,
- "relativeCreated": 17791.16177558899,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:11,894"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.9362836,
- "msecs": 936.2835884094238,
- "relativeCreated": 17832.525968551636,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:57:11,936"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954631.9369807,
- "msecs": 936.9807243347168,
- "relativeCreated": 17833.22310447693,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:11,936"
- }
- ],
- "time_consumption": 0.24382352828979492
- }
- ],
- "time_consumption": 1.2125248908996582,
- "time_start": "2023-02-09 15:57:10,968",
- "time_finished": "2023-02-09 15:57:12,180"
- },
- "Color temperature synchronisation test: videv/ffe/livingroom/floorlamp": {
- "name": "__tLogger__",
- "msg": "Color temperature synchronisation test: videv/ffe/livingroom/floorlamp",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 67,
- "funcName": "test_color_temp_sync",
- "created": 1675954632.1815796,
- "msecs": 181.57958984375,
- "relativeCreated": 18077.821969985962,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Color temperature synchronisation test: videv/ffe/livingroom/floorlamp",
- "asctime": "2023-02-09 15:57:12,181",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions for master device '%s' (Power on)",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 73,
- "funcName": "__test_color_temp_sync__",
- "created": 1675954632.4833443,
- "msecs": 483.34431648254395,
- "relativeCreated": 18379.586696624756,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions for master device 'True' (Power on)",
- "asctime": "2023-02-09 15:57:12,483",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.1818736,
- "msecs": 181.87355995178223,
- "relativeCreated": 18078.115940093994,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:12,181"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.182444,
- "msecs": 182.44409561157227,
- "relativeCreated": 18078.686475753784,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,182"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.1833186,
- "msecs": 183.3186149597168,
- "relativeCreated": 18079.56099510193,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:12,183"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.1839073,
- "msecs": 183.90727043151855,
- "relativeCreated": 18080.14965057373,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,183"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.2256024,
- "msecs": 225.602388381958,
- "relativeCreated": 18121.84476852417,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:12,225"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.2261543,
- "msecs": 226.15432739257812,
- "relativeCreated": 18122.39670753479,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,226"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.22668,
- "msecs": 226.68004035949707,
- "relativeCreated": 18122.92242050171,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:12,226"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.2271054,
- "msecs": 227.10537910461426,
- "relativeCreated": 18123.347759246826,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,227"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.227717,
- "msecs": 227.71692276000977,
- "relativeCreated": 18123.95930290222,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:12,227"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.2281427,
- "msecs": 228.14273834228516,
- "relativeCreated": 18124.385118484497,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,228"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.2285895,
- "msecs": 228.58953475952148,
- "relativeCreated": 18124.831914901733,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:12,228"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.2289977,
- "msecs": 228.99770736694336,
- "relativeCreated": 18125.240087509155,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,228"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.2296104,
- "msecs": 229.61044311523438,
- "relativeCreated": 18125.852823257446,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:12,229"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.2300563,
- "msecs": 230.0562858581543,
- "relativeCreated": 18126.298666000366,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,230"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.230547,
- "msecs": 230.5469512939453,
- "relativeCreated": 18126.789331436157,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:12,230"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.2309804,
- "msecs": 230.98039627075195,
- "relativeCreated": 18127.222776412964,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,230"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.231573,
- "msecs": 231.57310485839844,
- "relativeCreated": 18127.81548500061,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:12,231"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.2321281,
- "msecs": 232.12814331054688,
- "relativeCreated": 18128.37052345276,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:12,232"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.2326293,
- "msecs": 232.62929916381836,
- "relativeCreated": 18128.87167930603,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,232"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.233239,
- "msecs": 233.23893547058105,
- "relativeCreated": 18129.481315612793,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,233"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.2340038,
- "msecs": 234.00378227233887,
- "relativeCreated": 18130.24616241455,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,234"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.234532,
- "msecs": 234.53211784362793,
- "relativeCreated": 18130.77449798584,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,234"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.2351103,
- "msecs": 235.11028289794922,
- "relativeCreated": 18131.35266304016,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,235"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.2354162,
- "msecs": 235.41617393493652,
- "relativeCreated": 18131.65855407715,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,235"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.273619,
- "msecs": 273.6189365386963,
- "relativeCreated": 18169.86131668091,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
- "asctime": "2023-02-09 15:57:12,273"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.2741091,
- "msecs": 274.1091251373291,
- "relativeCreated": 18170.35150527954,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:12,274"
- }
- ],
- "time_consumption": 0.20923519134521484
- },
- {
- "name": "__tLogger__",
- "msg": "Changing master device color temperature to '%d'",
- "args": [
- 2
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 81,
- "funcName": "__test_color_temp_sync__",
- "created": 1675954632.7850933,
- "msecs": 785.0933074951172,
- "relativeCreated": 18681.33568763733,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing master device color temperature to '2'",
- "asctime": "2023-02-09 15:57:12,785",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/color_temp",
- "2"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.4839058,
- "msecs": 483.9057922363281,
- "relativeCreated": 18380.14817237854,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/livingroom/floorlamp/color_temp and payload 2",
- "asctime": "2023-02-09 15:57:12,483"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/color_temp",
- "b'2'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.4850304,
- "msecs": 485.0304126739502,
- "relativeCreated": 18381.272792816162,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'2'",
- "asctime": "2023-02-09 15:57:12,485"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"color_temp\": 291.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.488735,
- "msecs": 488.7349605560303,
- "relativeCreated": 18384.977340698242,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"color_temp\": 291.0}'",
- "asctime": "2023-02-09 15:57:12,488"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.489306,
- "msecs": 489.3059730529785,
- "relativeCreated": 18385.54835319519,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,489"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"color_temp\": 291.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.4898977,
- "msecs": 489.8977279663086,
- "relativeCreated": 18386.14010810852,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"color_temp\": 291.0}'",
- "asctime": "2023-02-09 15:57:12,489"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.4903774,
- "msecs": 490.37742614746094,
- "relativeCreated": 18386.619806289673,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,490"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"color_temp\": 291.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.4910355,
- "msecs": 491.03546142578125,
- "relativeCreated": 18387.277841567993,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"color_temp\": 291.0}'",
- "asctime": "2023-02-09 15:57:12,491"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.4915133,
- "msecs": 491.5132522583008,
- "relativeCreated": 18387.755632400513,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,491"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"color_temp\": 291.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.4920168,
- "msecs": 492.0167922973633,
- "relativeCreated": 18388.259172439575,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"color_temp\": 291.0}'",
- "asctime": "2023-02-09 15:57:12,492"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.492494,
- "msecs": 492.4941062927246,
- "relativeCreated": 18388.736486434937,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,492"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"color_temp\": 291.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.4931695,
- "msecs": 493.16954612731934,
- "relativeCreated": 18389.41192626953,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"color_temp\": 291.0}'",
- "asctime": "2023-02-09 15:57:12,493"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.4936047,
- "msecs": 493.6046600341797,
- "relativeCreated": 18389.84704017639,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,493"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"color_temp\": 291.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.494047,
- "msecs": 494.0469264984131,
- "relativeCreated": 18390.289306640625,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"color_temp\": 291.0}'",
- "asctime": "2023-02-09 15:57:12,494"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.4944544,
- "msecs": 494.45438385009766,
- "relativeCreated": 18390.69676399231,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,494"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.4949808,
- "msecs": 494.9808120727539,
- "relativeCreated": 18391.223192214966,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,494"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.4954655,
- "msecs": 495.4655170440674,
- "relativeCreated": 18391.70789718628,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,495"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.4959316,
- "msecs": 495.93162536621094,
- "relativeCreated": 18392.174005508423,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,495"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.496393,
- "msecs": 496.39296531677246,
- "relativeCreated": 18392.635345458984,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,496"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.4968615,
- "msecs": 496.86145782470703,
- "relativeCreated": 18393.10383796692,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,496"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.4973643,
- "msecs": 497.3642826080322,
- "relativeCreated": 18393.606662750244,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,497"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/color_temp",
- "b'2.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.537555,
- "msecs": 537.5549793243408,
- "relativeCreated": 18433.797359466553,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'2.0'",
- "asctime": "2023-02-09 15:57:12,537"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.538253,
- "msecs": 538.2530689239502,
- "relativeCreated": 18434.495449066162,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:12,538"
- }
- ],
- "time_consumption": 0.246840238571167
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature is correct (Content %s and Type is %s).",
- "args": [
- "2",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954632.7857614,
- "msecs": 785.7613563537598,
- "relativeCreated": 18682.00373649597,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature is correct (Content 2 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:12,785",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature",
- "2",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954632.7855208,
- "msecs": 785.5207920074463,
- "relativeCreated": 18681.76317214966,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature): 2 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:12,785"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature",
- "=",
- "2",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954632.7856553,
- "msecs": 785.6552600860596,
- "relativeCreated": 18681.89764022827,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature): result = 2 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:12,785"
- }
- ],
- "time_consumption": 0.00010609626770019531
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature is correct (Content %s and Type is %s).",
- "args": [
- "2",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954632.7861187,
- "msecs": 786.118745803833,
- "relativeCreated": 18682.361125946045,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature is correct (Content 2 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:12,786",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature",
- "2",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954632.7859335,
- "msecs": 785.9334945678711,
- "relativeCreated": 18682.175874710083,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature): 2 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:12,785"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature",
- "=",
- "2",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954632.78603,
- "msecs": 786.0300540924072,
- "relativeCreated": 18682.27243423462,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature): result = 2 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:12,786"
- }
- ],
- "time_consumption": 8.869171142578125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature is correct (Content %s and Type is %s).",
- "args": [
- "2",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954632.7864416,
- "msecs": 786.4415645599365,
- "relativeCreated": 18682.68394470215,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature is correct (Content 2 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:12,786",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature",
- "2",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954632.786269,
- "msecs": 786.268949508667,
- "relativeCreated": 18682.51132965088,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature): 2 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:12,786"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature",
- "=",
- "2",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954632.7863586,
- "msecs": 786.3585948944092,
- "relativeCreated": 18682.60097503662,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature): result = 2 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:12,786"
- }
- ],
- "time_consumption": 8.296966552734375e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature is correct (Content %s and Type is %s).",
- "args": [
- "2",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954632.7868,
- "msecs": 786.7999076843262,
- "relativeCreated": 18683.042287826538,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature is correct (Content 2 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:12,786",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature",
- "2",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954632.7866137,
- "msecs": 786.6137027740479,
- "relativeCreated": 18682.85608291626,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature): 2 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:12,786"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature",
- "=",
- "2",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954632.7867064,
- "msecs": 786.7064476013184,
- "relativeCreated": 18682.94882774353,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature): result = 2 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:12,786"
- }
- ],
- "time_consumption": 9.34600830078125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature is correct (Content %s and Type is %s).",
- "args": [
- "2",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954632.7871115,
- "msecs": 787.1115207672119,
- "relativeCreated": 18683.353900909424,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature is correct (Content 2 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:12,787",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature",
- "2",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954632.786942,
- "msecs": 786.9420051574707,
- "relativeCreated": 18683.184385299683,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature): 2 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:12,786"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature",
- "=",
- "2",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954632.78703,
- "msecs": 787.0299816131592,
- "relativeCreated": 18683.27236175537,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature): result = 2 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:12,787"
- }
- ],
- "time_consumption": 8.153915405273438e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature is correct (Content %s and Type is %s).",
- "args": [
- "2",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954632.7874317,
- "msecs": 787.4317169189453,
- "relativeCreated": 18683.674097061157,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature is correct (Content 2 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:12,787",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature",
- "2",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954632.7872515,
- "msecs": 787.2514724731445,
- "relativeCreated": 18683.493852615356,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature): 2 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:12,787"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature",
- "=",
- "2",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954632.787351,
- "msecs": 787.3508930206299,
- "relativeCreated": 18683.59327316284,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature): result = 2 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:12,787"
- }
- ],
- "time_consumption": 8.082389831542969e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing master device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 81,
- "funcName": "__test_color_temp_sync__",
- "created": 1675954633.0896525,
- "msecs": 89.65253829956055,
- "relativeCreated": 18985.894918441772,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing master device color temperature to '5'",
- "asctime": "2023-02-09 15:57:13,089",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.7877223,
- "msecs": 787.7223491668701,
- "relativeCreated": 18683.964729309082,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/livingroom/floorlamp/color_temp and payload 5",
- "asctime": "2023-02-09 15:57:12,787"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.7887938,
- "msecs": 788.7938022613525,
- "relativeCreated": 18685.036182403564,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:57:12,788"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.7925873,
- "msecs": 792.5872802734375,
- "relativeCreated": 18688.82966041565,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:12,792"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.7931588,
- "msecs": 793.158769607544,
- "relativeCreated": 18689.401149749756,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,793"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.7937412,
- "msecs": 793.7412261962891,
- "relativeCreated": 18689.9836063385,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:12,793"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.7942343,
- "msecs": 794.2342758178711,
- "relativeCreated": 18690.476655960083,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,794"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.7948775,
- "msecs": 794.8775291442871,
- "relativeCreated": 18691.1199092865,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:12,794"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.7953444,
- "msecs": 795.344352722168,
- "relativeCreated": 18691.58673286438,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,795"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.7957873,
- "msecs": 795.7873344421387,
- "relativeCreated": 18692.02971458435,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:12,795"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.7962058,
- "msecs": 796.2057590484619,
- "relativeCreated": 18692.448139190674,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,796"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.796748,
- "msecs": 796.7479228973389,
- "relativeCreated": 18692.99030303955,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:12,796"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.7971976,
- "msecs": 797.1975803375244,
- "relativeCreated": 18693.439960479736,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,797"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.7976375,
- "msecs": 797.6374626159668,
- "relativeCreated": 18693.87984275818,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:12,797"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954632.7980402,
- "msecs": 798.0401515960693,
- "relativeCreated": 18694.28253173828,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:12,798"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.7985704,
- "msecs": 798.5703945159912,
- "relativeCreated": 18694.812774658203,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,798"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.7990594,
- "msecs": 799.0593910217285,
- "relativeCreated": 18695.30177116394,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,799"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.799538,
- "msecs": 799.5378971099854,
- "relativeCreated": 18695.780277252197,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,799"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.8000205,
- "msecs": 800.0204563140869,
- "relativeCreated": 18696.2628364563,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,800"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.800486,
- "msecs": 800.4860877990723,
- "relativeCreated": 18696.728467941284,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,800"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.8009553,
- "msecs": 800.9552955627441,
- "relativeCreated": 18697.197675704956,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:12,800"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.841539,
- "msecs": 841.5389060974121,
- "relativeCreated": 18737.781286239624,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:12,841"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954632.8422322,
- "msecs": 842.2322273254395,
- "relativeCreated": 18738.47460746765,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:12,842"
- }
- ],
- "time_consumption": 0.2474203109741211
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954633.0902483,
- "msecs": 90.24834632873535,
- "relativeCreated": 18986.490726470947,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:13,090",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954633.0900347,
- "msecs": 90.03472328186035,
- "relativeCreated": 18986.277103424072,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:13,090"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954633.0901546,
- "msecs": 90.15464782714844,
- "relativeCreated": 18986.39702796936,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:13,090"
- }
- ],
- "time_consumption": 9.369850158691406e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954633.090606,
- "msecs": 90.6059741973877,
- "relativeCreated": 18986.8483543396,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:13,090",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954633.090402,
- "msecs": 90.40188789367676,
- "relativeCreated": 18986.64426803589,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:13,090"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954633.0905154,
- "msecs": 90.5153751373291,
- "relativeCreated": 18986.75775527954,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:13,090"
- }
- ],
- "time_consumption": 9.059906005859375e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954633.0909097,
- "msecs": 90.90971946716309,
- "relativeCreated": 18987.152099609375,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:13,090",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954633.0907505,
- "msecs": 90.75045585632324,
- "relativeCreated": 18986.992835998535,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:13,090"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954633.0908365,
- "msecs": 90.8365249633789,
- "relativeCreated": 18987.07890510559,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:13,090"
- }
- ],
- "time_consumption": 7.319450378417969e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954633.091185,
- "msecs": 91.18509292602539,
- "relativeCreated": 18987.427473068237,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:13,091",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954633.0910356,
- "msecs": 91.03560447692871,
- "relativeCreated": 18987.27798461914,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:13,091"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954633.0911136,
- "msecs": 91.11356735229492,
- "relativeCreated": 18987.355947494507,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:13,091"
- }
- ],
- "time_consumption": 7.152557373046875e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954633.091453,
- "msecs": 91.45307540893555,
- "relativeCreated": 18987.695455551147,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:13,091",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954633.091307,
- "msecs": 91.30692481994629,
- "relativeCreated": 18987.54930496216,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:13,091"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954633.0913827,
- "msecs": 91.38274192810059,
- "relativeCreated": 18987.625122070312,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:13,091"
- }
- ],
- "time_consumption": 7.033348083496094e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954633.091728,
- "msecs": 91.72797203063965,
- "relativeCreated": 18987.97035217285,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:13,091",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954633.0915737,
- "msecs": 91.57371520996094,
- "relativeCreated": 18987.816095352173,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:13,091"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954633.0916498,
- "msecs": 91.64977073669434,
- "relativeCreated": 18987.892150878906,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:13,091"
- }
- ],
- "time_consumption": 7.82012939453125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting preconditions for master device '%s' (Power off)",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 89,
- "funcName": "__test_color_temp_sync__",
- "created": 1675954633.3930805,
- "msecs": 393.080472946167,
- "relativeCreated": 19289.32285308838,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting preconditions for master device 'False' (Power off)",
- "asctime": "2023-02-09 15:57:13,393",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954633.0919335,
- "msecs": 91.9334888458252,
- "relativeCreated": 18988.175868988037,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:13,091"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.0929372,
- "msecs": 92.93723106384277,
- "relativeCreated": 18989.179611206055,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:13,092"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.0973527,
- "msecs": 97.35274314880371,
- "relativeCreated": 18993.595123291016,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:13,097"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954633.0978508,
- "msecs": 97.85079956054688,
- "relativeCreated": 18994.09317970276,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:13,097"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.09835,
- "msecs": 98.35004806518555,
- "relativeCreated": 18994.592428207397,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:13,098"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954633.0987856,
- "msecs": 98.7856388092041,
- "relativeCreated": 18995.028018951416,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:13,098"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.0993514,
- "msecs": 99.35140609741211,
- "relativeCreated": 18995.593786239624,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:13,099"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954633.09977,
- "msecs": 99.77006912231445,
- "relativeCreated": 18996.012449264526,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:13,099"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.1002138,
- "msecs": 100.21376609802246,
- "relativeCreated": 18996.456146240234,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:13,100"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954633.1006384,
- "msecs": 100.63838958740234,
- "relativeCreated": 18996.880769729614,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:13,100"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.101225,
- "msecs": 101.22489929199219,
- "relativeCreated": 18997.467279434204,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:13,101"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954633.1016533,
- "msecs": 101.6533374786377,
- "relativeCreated": 18997.89571762085,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:13,101"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.1020947,
- "msecs": 102.09465026855469,
- "relativeCreated": 18998.337030410767,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:13,102"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954633.1025178,
- "msecs": 102.51784324645996,
- "relativeCreated": 18998.760223388672,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:13,102"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.1030562,
- "msecs": 103.05619239807129,
- "relativeCreated": 18999.298572540283,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:13,103"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.1035886,
- "msecs": 103.58858108520508,
- "relativeCreated": 18999.830961227417,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:13,103"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.1040747,
- "msecs": 104.07471656799316,
- "relativeCreated": 19000.317096710205,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:13,104"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.1045384,
- "msecs": 104.5384407043457,
- "relativeCreated": 19000.780820846558,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:13,104"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.1050155,
- "msecs": 105.01551628112793,
- "relativeCreated": 19001.25789642334,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:13,105"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.1059117,
- "msecs": 105.9117317199707,
- "relativeCreated": 19002.154111862183,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:13,105"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.1063864,
- "msecs": 106.38642311096191,
- "relativeCreated": 19002.628803253174,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:13,106"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.1068442,
- "msecs": 106.84418678283691,
- "relativeCreated": 19003.08656692505,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:13,106"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.1479964,
- "msecs": 147.9964256286621,
- "relativeCreated": 19044.238805770874,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:57:13,147"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.1486826,
- "msecs": 148.6825942993164,
- "relativeCreated": 19044.92497444153,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:13,148"
- }
- ],
- "time_consumption": 0.24439787864685059
- }
- ],
- "time_consumption": 1.211500883102417,
- "time_start": "2023-02-09 15:57:12,181",
- "time_finished": "2023-02-09 15:57:13,393"
- },
- "Power On/ Off synchronisation test: shellies/ffe/livingroom/main_light": {
- "name": "__tLogger__",
- "msg": "Power On/ Off synchronisation test: shellies/ffe/livingroom/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 24,
- "funcName": "test_power_on_off_sync",
- "created": 1675954633.3937616,
- "msecs": 393.76163482666016,
- "relativeCreated": 19290.004014968872,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off synchronisation test: shellies/ffe/livingroom/main_light",
- "asctime": "2023-02-09 15:57:13,393",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions for master device '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 30,
- "funcName": "__test_power_on_off_sync__",
- "created": 1675954633.6955843,
- "msecs": 695.5842971801758,
- "relativeCreated": 19591.826677322388,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions for master device 'False'",
- "asctime": "2023-02-09 15:57:13,695",
- "moduleLogger": [],
- "time_consumption": 0.0
- },
- {
- "name": "__tLogger__",
- "msg": "Changing master device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off_sync__",
- "created": 1675954633.9973948,
- "msecs": 997.3948001861572,
- "relativeCreated": 19893.63718032837,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing master device state to 'True'",
- "asctime": "2023-02-09 15:57:13,997",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954633.6960466,
- "msecs": 696.0465908050537,
- "relativeCreated": 19592.288970947266,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:13,696"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954633.6966763,
- "msecs": 696.6762542724609,
- "relativeCreated": 19592.918634414673,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:13,696"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.6976814,
- "msecs": 697.6814270019531,
- "relativeCreated": 19593.923807144165,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:13,697"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.698353,
- "msecs": 698.3530521392822,
- "relativeCreated": 19594.595432281494,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:13,698"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.7420547,
- "msecs": 742.0547008514404,
- "relativeCreated": 19638.297080993652,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:13,742"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954633.7427266,
- "msecs": 742.7265644073486,
- "relativeCreated": 19638.96894454956,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:13,742"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.7433398,
- "msecs": 743.3397769927979,
- "relativeCreated": 19639.58215713501,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:13,743"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954633.7438188,
- "msecs": 743.8187599182129,
- "relativeCreated": 19640.061140060425,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:13,743"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.7444875,
- "msecs": 744.4875240325928,
- "relativeCreated": 19640.729904174805,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:13,744"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954633.7449667,
- "msecs": 744.9667453765869,
- "relativeCreated": 19641.2091255188,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:13,744"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.7455122,
- "msecs": 745.5122470855713,
- "relativeCreated": 19641.754627227783,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:13,745"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954633.7459774,
- "msecs": 745.9774017333984,
- "relativeCreated": 19642.21978187561,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:13,745"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.7465932,
- "msecs": 746.5932369232178,
- "relativeCreated": 19642.83561706543,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:13,746"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954633.7470634,
- "msecs": 747.063398361206,
- "relativeCreated": 19643.305778503418,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:13,747"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"state\": \"on\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.7475598,
- "msecs": 747.5597858428955,
- "relativeCreated": 19643.802165985107,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"on\"}'",
- "asctime": "2023-02-09 15:57:13,747"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954633.748024,
- "msecs": 748.0239868164062,
- "relativeCreated": 19644.266366958618,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:13,748"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.748627,
- "msecs": 748.6269474029541,
- "relativeCreated": 19644.869327545166,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:13,748"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.7492642,
- "msecs": 749.2642402648926,
- "relativeCreated": 19645.506620407104,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:13,749"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.7498178,
- "msecs": 749.8178482055664,
- "relativeCreated": 19646.06022834778,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:13,749"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.7503467,
- "msecs": 750.3466606140137,
- "relativeCreated": 19646.589040756226,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:13,750"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.7508829,
- "msecs": 750.8828639984131,
- "relativeCreated": 19647.125244140625,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:13,750"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.751412,
- "msecs": 751.4119148254395,
- "relativeCreated": 19647.65429496765,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:13,751"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.7519171,
- "msecs": 751.9171237945557,
- "relativeCreated": 19648.159503936768,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:13,751"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.7524192,
- "msecs": 752.4192333221436,
- "relativeCreated": 19648.661613464355,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:13,752"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.7898943,
- "msecs": 789.8943424224854,
- "relativeCreated": 19686.136722564697,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'true'",
- "asctime": "2023-02-09 15:57:13,789"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954633.7907257,
- "msecs": 790.7257080078125,
- "relativeCreated": 19686.968088150024,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:13,790"
- }
- ],
- "time_consumption": 0.20666909217834473
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954633.9980638,
- "msecs": 998.0638027191162,
- "relativeCreated": 19894.306182861328,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:13,998",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_1) state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954633.99782,
- "msecs": 997.8199005126953,
- "relativeCreated": 19894.062280654907,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:13,997"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_1) state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954633.9979577,
- "msecs": 997.957706451416,
- "relativeCreated": 19894.200086593628,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:13,997"
- }
- ],
- "time_consumption": 0.00010609626770019531
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954633.9984696,
- "msecs": 998.4695911407471,
- "relativeCreated": 19894.71197128296,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:13,998",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_2) state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954633.9982367,
- "msecs": 998.2366561889648,
- "relativeCreated": 19894.479036331177,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:13,998"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_2) state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954633.9983668,
- "msecs": 998.3668327331543,
- "relativeCreated": 19894.609212875366,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:13,998"
- }
- ],
- "time_consumption": 0.00010275840759277344
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_3) state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954633.9988055,
- "msecs": 998.8055229187012,
- "relativeCreated": 19895.047903060913,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:13,998",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_3) state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954633.998628,
- "msecs": 998.6279010772705,
- "relativeCreated": 19894.870281219482,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:13,998"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_3) state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954633.99872,
- "msecs": 998.7199306488037,
- "relativeCreated": 19894.962310791016,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:13,998"
- }
- ],
- "time_consumption": 8.559226989746094e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954633.9991405,
- "msecs": 999.1405010223389,
- "relativeCreated": 19895.38288116455,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:13,999",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_4) state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954633.9989634,
- "msecs": 998.9633560180664,
- "relativeCreated": 19895.20573616028,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:13,998"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_4) state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954633.9990573,
- "msecs": 999.0572929382324,
- "relativeCreated": 19895.299673080444,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:13,999"
- }
- ],
- "time_consumption": 8.320808410644531e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954633.9994526,
- "msecs": 999.4525909423828,
- "relativeCreated": 19895.694971084595,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:13,999",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_5) state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954633.9992828,
- "msecs": 999.2828369140625,
- "relativeCreated": 19895.525217056274,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:13,999"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_5) state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954633.9993715,
- "msecs": 999.3715286254883,
- "relativeCreated": 19895.6139087677,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:13,999"
- }
- ],
- "time_consumption": 8.106231689453125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954633.9997706,
- "msecs": 999.7706413269043,
- "relativeCreated": 19896.013021469116,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:13,999",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_6) state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954633.9995918,
- "msecs": 999.5918273925781,
- "relativeCreated": 19895.83420753479,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:13,999"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_6) state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954633.9996793,
- "msecs": 999.6793270111084,
- "relativeCreated": 19895.92170715332,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:13,999"
- }
- ],
- "time_consumption": 9.131431579589844e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing master device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off_sync__",
- "created": 1675954634.3010235,
- "msecs": 301.0234832763672,
- "relativeCreated": 20197.26586341858,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing master device state to 'False'",
- "asctime": "2023-02-09 15:57:14,301",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954633.9999945,
- "msecs": 999.9945163726807,
- "relativeCreated": 19896.236896514893,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/livingroom/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:13,999"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/livingroom/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.00117,
- "msecs": 1.1699199676513672,
- "relativeCreated": 19897.412300109863,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/livingroom/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:14,001"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.0058656,
- "msecs": 5.865573883056641,
- "relativeCreated": 19902.10795402527,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:14,005"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954634.0063431,
- "msecs": 6.34312629699707,
- "relativeCreated": 19902.58550643921,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_1 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:14,006"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.0068576,
- "msecs": 6.857633590698242,
- "relativeCreated": 19903.10001373291,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:14,006"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954634.0073347,
- "msecs": 7.334709167480469,
- "relativeCreated": 19903.577089309692,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_2 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:14,007"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.0079188,
- "msecs": 7.918834686279297,
- "relativeCreated": 19904.16121482849,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:14,007"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954634.0083418,
- "msecs": 8.341789245605469,
- "relativeCreated": 19904.584169387817,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_3 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:14,008"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.0087934,
- "msecs": 8.793354034423828,
- "relativeCreated": 19905.035734176636,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:14,008"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954634.0092459,
- "msecs": 9.245872497558594,
- "relativeCreated": 19905.48825263977,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_4 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:14,009"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.0098007,
- "msecs": 9.80067253112793,
- "relativeCreated": 19906.04305267334,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:14,009"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954634.0102293,
- "msecs": 10.229349136352539,
- "relativeCreated": 19906.471729278564,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_5 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:14,010"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.010667,
- "msecs": 10.667085647583008,
- "relativeCreated": 19906.909465789795,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:14,010"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954634.011071,
- "msecs": 11.070966720581055,
- "relativeCreated": 19907.313346862793,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/livingroom/floorlamp_6 and payload {\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:14,011"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.0116036,
- "msecs": 11.603593826293945,
- "relativeCreated": 19907.845973968506,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:14,011"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.0121288,
- "msecs": 12.128829956054688,
- "relativeCreated": 19908.371210098267,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:14,012"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_1",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.0126083,
- "msecs": 12.60828971862793,
- "relativeCreated": 19908.85066986084,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_1 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:14,012"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_2",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.0130959,
- "msecs": 13.095855712890625,
- "relativeCreated": 19909.338235855103,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_2 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:14,013"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_3",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.0135567,
- "msecs": 13.556718826293945,
- "relativeCreated": 19909.799098968506,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_3 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:14,013"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_4",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.0140195,
- "msecs": 14.019489288330078,
- "relativeCreated": 19910.261869430542,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_4 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:14,014"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_5",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_5",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.0144694,
- "msecs": 14.469385147094727,
- "relativeCreated": 19910.711765289307,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_5 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:14,014"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.livingroom.floorlamp_6",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/livingroom/floorlamp_6",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.014913,
- "msecs": 14.913082122802734,
- "relativeCreated": 19911.155462265015,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/livingroom/floorlamp_6 and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:14,014"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.056172,
- "msecs": 56.17189407348633,
- "relativeCreated": 19952.4142742157,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/state and payload b'false'",
- "asctime": "2023-02-09 15:57:14,056"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.livingroom.floorlamp.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/livingroom/floorlamp/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.0568771,
- "msecs": 56.87713623046875,
- "relativeCreated": 19953.11951637268,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/livingroom/floorlamp/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:14,056"
- }
- ],
- "time_consumption": 0.24414634704589844
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_1) state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954634.3016438,
- "msecs": 301.64384841918945,
- "relativeCreated": 20197.8862285614,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_1) state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:14,301",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_1) state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954634.3014293,
- "msecs": 301.42927169799805,
- "relativeCreated": 20197.67165184021,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_1) state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:14,301"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_1) state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954634.3015482,
- "msecs": 301.5482425689697,
- "relativeCreated": 20197.79062271118,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_1) state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:14,301"
- }
- ],
- "time_consumption": 9.560585021972656e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_2) state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954634.301951,
- "msecs": 301.95093154907227,
- "relativeCreated": 20198.193311691284,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_2) state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:14,301",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_2) state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954634.3017905,
- "msecs": 301.7904758453369,
- "relativeCreated": 20198.03285598755,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_2) state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:14,301"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_2) state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954634.301875,
- "msecs": 301.87511444091797,
- "relativeCreated": 20198.11749458313,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_2) state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:14,301"
- }
- ],
- "time_consumption": 7.581710815429688e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_3) state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954634.3022785,
- "msecs": 302.2785186767578,
- "relativeCreated": 20198.52089881897,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_3) state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:14,302",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_3) state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954634.3021128,
- "msecs": 302.1128177642822,
- "relativeCreated": 20198.355197906494,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_3) state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:14,302"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_3) state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954634.302193,
- "msecs": 302.19292640686035,
- "relativeCreated": 20198.435306549072,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_3) state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:14,302"
- }
- ],
- "time_consumption": 8.559226989746094e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_4) state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954634.3025706,
- "msecs": 302.5705814361572,
- "relativeCreated": 20198.81296157837,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_4) state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:14,302",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_4) state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954634.3024125,
- "msecs": 302.4125099182129,
- "relativeCreated": 20198.654890060425,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_4) state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:14,302"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_4) state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954634.3024976,
- "msecs": 302.49762535095215,
- "relativeCreated": 20198.740005493164,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_4) state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:14,302"
- }
- ],
- "time_consumption": 7.295608520507812e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_5) state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954634.3028402,
- "msecs": 302.8402328491211,
- "relativeCreated": 20199.082612991333,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_5) state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:14,302",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_5) state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954634.3026924,
- "msecs": 302.6924133300781,
- "relativeCreated": 20198.93479347229,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_5) state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:14,302"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_5) state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954634.3027687,
- "msecs": 302.7687072753906,
- "relativeCreated": 20199.011087417603,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_5) state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:14,302"
- }
- ],
- "time_consumption": 7.152557373046875e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/ffe/livingroom/floorlamp_6) state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954634.3031054,
- "msecs": 303.10535430908203,
- "relativeCreated": 20199.347734451294,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/ffe/livingroom/floorlamp_6) state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:14,303",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_6) state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954634.3029604,
- "msecs": 302.9603958129883,
- "relativeCreated": 20199.2027759552,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/ffe/livingroom/floorlamp_6) state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:14,302"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/ffe/livingroom/floorlamp_6) state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954634.303035,
- "msecs": 303.03502082824707,
- "relativeCreated": 20199.27740097046,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/ffe/livingroom/floorlamp_6) state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:14,303"
- }
- ],
- "time_consumption": 7.033348083496094e-05
- }
- ],
- "time_consumption": 0.9093437194824219,
- "time_start": "2023-02-09 15:57:13,393",
- "time_finished": "2023-02-09 15:57:14,303"
- },
- "Brightness test for device and virtual device: zigbee/ffe/sleep/bed_light_di": {
- "name": "__tLogger__",
- "msg": "Brightness test for device and virtual device: zigbee/ffe/sleep/bed_light_di",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 50,
- "funcName": "test_brightness",
- "created": 1675954634.3035438,
- "msecs": 303.5438060760498,
- "relativeCreated": 20199.78618621826,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Brightness test for device and virtual device: zigbee/ffe/sleep/bed_light_di",
- "asctime": "2023-02-09 15:57:14,303",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 57,
- "funcName": "__test_brightness__",
- "created": 1675954634.604622,
- "msecs": 604.6218872070312,
- "relativeCreated": 20500.864267349243,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:57:14,604",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954634.3039355,
- "msecs": 303.9355278015137,
- "relativeCreated": 20200.177907943726,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:14,303"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.3048785,
- "msecs": 304.87847328186035,
- "relativeCreated": 20201.120853424072,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:14,304"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.3090632,
- "msecs": 309.063196182251,
- "relativeCreated": 20205.305576324463,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'true'",
- "asctime": "2023-02-09 15:57:14,309"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.309694,
- "msecs": 309.6940517425537,
- "relativeCreated": 20205.936431884766,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:14,309"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.3102233,
- "msecs": 310.2233409881592,
- "relativeCreated": 20206.46572113037,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:14,310"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.3107622,
- "msecs": 310.7621669769287,
- "relativeCreated": 20207.00454711914,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:14,310"
- }
- ],
- "time_consumption": 0.29385972023010254
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954634.6052938,
- "msecs": 605.2937507629395,
- "relativeCreated": 20501.53613090515,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:14,605",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954634.6050196,
- "msecs": 605.0195693969727,
- "relativeCreated": 20501.261949539185,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:14,605"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954634.6051872,
- "msecs": 605.187177658081,
- "relativeCreated": 20501.429557800293,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:14,605"
- }
- ],
- "time_consumption": 0.00010657310485839844
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954634.9075553,
- "msecs": 907.555341720581,
- "relativeCreated": 20803.797721862793,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:14,907",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "{\"state\": \"on\", \"brightness\": 165.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954634.6056497,
- "msecs": 605.6497097015381,
- "relativeCreated": 20501.89208984375,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 165.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:14,605"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.6067483,
- "msecs": 606.7483425140381,
- "relativeCreated": 20502.99072265625,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:14,606"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.6091738,
- "msecs": 609.1737747192383,
- "relativeCreated": 20505.41615486145,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:14,609"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.6098537,
- "msecs": 609.8537445068359,
- "relativeCreated": 20506.096124649048,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:14,609"
- }
- ],
- "time_consumption": 0.2977015972137451
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954634.908273,
- "msecs": 908.2729816436768,
- "relativeCreated": 20804.51536178589,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:14,908",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954634.9079776,
- "msecs": 907.9775810241699,
- "relativeCreated": 20804.219961166382,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:14,907"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954634.9081635,
- "msecs": 908.1635475158691,
- "relativeCreated": 20804.40592765808,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:14,908"
- }
- ],
- "time_consumption": 0.00010943412780761719
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954634.9086342,
- "msecs": 908.6341857910156,
- "relativeCreated": 20804.876565933228,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:14,908",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954634.9084506,
- "msecs": 908.4506034851074,
- "relativeCreated": 20804.69298362732,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:14,908"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954634.9085476,
- "msecs": 908.5476398468018,
- "relativeCreated": 20804.790019989014,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:14,908"
- }
- ],
- "time_consumption": 8.654594421386719e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954635.2108605,
- "msecs": 210.8604907989502,
- "relativeCreated": 21107.102870941162,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:15,210",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954634.908919,
- "msecs": 908.919095993042,
- "relativeCreated": 20805.161476135254,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/bed_light_di/brightness and payload 50",
- "asctime": "2023-02-09 15:57:14,908"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.9100387,
- "msecs": 910.0387096405029,
- "relativeCreated": 20806.281089782715,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:14,910"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.9118552,
- "msecs": 911.8552207946777,
- "relativeCreated": 20808.09760093689,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_di/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:14,911"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954634.9123769,
- "msecs": 912.376880645752,
- "relativeCreated": 20808.619260787964,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:14,912"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.9133303,
- "msecs": 913.3303165435791,
- "relativeCreated": 20809.57269668579,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:14,913"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.9573495,
- "msecs": 957.3495388031006,
- "relativeCreated": 20853.591918945312,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:14,957"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954634.9580724,
- "msecs": 958.0724239349365,
- "relativeCreated": 20854.31480407715,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:14,958"
- }
- ],
- "time_consumption": 0.25278806686401367
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954635.211512,
- "msecs": 211.51208877563477,
- "relativeCreated": 21107.754468917847,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:15,211",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954635.2112696,
- "msecs": 211.26961708068848,
- "relativeCreated": 21107.5119972229,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:15,211"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954635.2114062,
- "msecs": 211.40623092651367,
- "relativeCreated": 21107.648611068726,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:15,211"
- }
- ],
- "time_consumption": 0.00010585784912109375
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954635.2118604,
- "msecs": 211.86041831970215,
- "relativeCreated": 21108.102798461914,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:15,211",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954635.2116792,
- "msecs": 211.67922019958496,
- "relativeCreated": 21107.921600341797,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:15,211"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954635.2117758,
- "msecs": 211.7757797241211,
- "relativeCreated": 21108.018159866333,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:15,211"
- }
- ],
- "time_consumption": 8.463859558105469e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954635.5141387,
- "msecs": 514.1386985778809,
- "relativeCreated": 21410.381078720093,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:15,514",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "{\"state\": \"on\", \"brightness\": 165.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954635.2122238,
- "msecs": 212.22376823425293,
- "relativeCreated": 21108.466148376465,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 165.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:15,212"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954635.2133527,
- "msecs": 213.35268020629883,
- "relativeCreated": 21109.59506034851,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:15,213"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954635.215724,
- "msecs": 215.72399139404297,
- "relativeCreated": 21111.966371536255,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:15,215"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954635.2164147,
- "msecs": 216.4146900177002,
- "relativeCreated": 21112.657070159912,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:15,216"
- }
- ],
- "time_consumption": 0.29772400856018066
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954635.5147433,
- "msecs": 514.7433280944824,
- "relativeCreated": 21410.985708236694,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:15,514",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954635.5145316,
- "msecs": 514.5316123962402,
- "relativeCreated": 21410.773992538452,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:15,514"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954635.5146513,
- "msecs": 514.6512985229492,
- "relativeCreated": 21410.89367866516,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:15,514"
- }
- ],
- "time_consumption": 9.202957153320312e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954635.5150666,
- "msecs": 515.0666236877441,
- "relativeCreated": 21411.309003829956,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:15,515",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954635.5148923,
- "msecs": 514.8923397064209,
- "relativeCreated": 21411.134719848633,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:15,514"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954635.51499,
- "msecs": 514.9900913238525,
- "relativeCreated": 21411.232471466064,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:15,514"
- }
- ],
- "time_consumption": 7.653236389160156e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954635.81707,
- "msecs": 817.0700073242188,
- "relativeCreated": 21713.31238746643,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:15,817",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954635.515316,
- "msecs": 515.3160095214844,
- "relativeCreated": 21411.558389663696,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/bed_light_di/brightness and payload 50",
- "asctime": "2023-02-09 15:57:15,515"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954635.5162816,
- "msecs": 516.2816047668457,
- "relativeCreated": 21412.523984909058,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:15,516"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954635.5177934,
- "msecs": 517.7934169769287,
- "relativeCreated": 21414.03579711914,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_di/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:15,517"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954635.518232,
- "msecs": 518.2321071624756,
- "relativeCreated": 21414.474487304688,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:15,518"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954635.5190752,
- "msecs": 519.0751552581787,
- "relativeCreated": 21415.31753540039,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:15,519"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954635.5650175,
- "msecs": 565.0174617767334,
- "relativeCreated": 21461.259841918945,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:15,565"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954635.5657089,
- "msecs": 565.7088756561279,
- "relativeCreated": 21461.95125579834,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:15,565"
- }
- ],
- "time_consumption": 0.2513611316680908
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954635.8176432,
- "msecs": 817.6431655883789,
- "relativeCreated": 21713.88554573059,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:15,817",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954635.8174336,
- "msecs": 817.4335956573486,
- "relativeCreated": 21713.67597579956,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:15,817"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954635.8175507,
- "msecs": 817.5506591796875,
- "relativeCreated": 21713.7930393219,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:15,817"
- }
- ],
- "time_consumption": 9.250640869140625e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 74,
- "funcName": "__test_brightness__",
- "created": 1675954636.1198337,
- "msecs": 119.83370780944824,
- "relativeCreated": 22016.07608795166,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:57:16,119",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954635.8179562,
- "msecs": 817.9562091827393,
- "relativeCreated": 21714.19858932495,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:15,817"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954635.8189268,
- "msecs": 818.9268112182617,
- "relativeCreated": 21715.169191360474,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:15,818"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954635.8224404,
- "msecs": 822.4403858184814,
- "relativeCreated": 21718.682765960693,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'false'",
- "asctime": "2023-02-09 15:57:15,822"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954635.823032,
- "msecs": 823.0319023132324,
- "relativeCreated": 21719.274282455444,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:15,823"
- }
- ],
- "time_consumption": 0.2968018054962158
- }
- ],
- "time_consumption": 1.8162899017333984,
- "time_start": "2023-02-09 15:57:14,303",
- "time_finished": "2023-02-09 15:57:16,119"
- },
- "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_di": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_di",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954636.120506,
- "msecs": 120.50604820251465,
- "relativeCreated": 22016.748428344727,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_di",
- "asctime": "2023-02-09 15:57:16,120",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954636.1209712,
- "msecs": 120.9712028503418,
- "relativeCreated": 22017.213582992554,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:16,120",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954636.1207626,
- "msecs": 120.76258659362793,
- "relativeCreated": 22017.00496673584,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:16,120"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954636.1208777,
- "msecs": 120.87774276733398,
- "relativeCreated": 22017.120122909546,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:16,120"
- }
- ],
- "time_consumption": 9.34600830078125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954636.4231567,
- "msecs": 423.15673828125,
- "relativeCreated": 22319.399118423462,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:16,423",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954636.121308,
- "msecs": 121.3080883026123,
- "relativeCreated": 22017.550468444824,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:16,121"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954636.1222978,
- "msecs": 122.29776382446289,
- "relativeCreated": 22018.540143966675,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:16,122"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954636.169887,
- "msecs": 169.88706588745117,
- "relativeCreated": 22066.129446029663,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'true'",
- "asctime": "2023-02-09 15:57:16,169"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954636.1705685,
- "msecs": 170.56846618652344,
- "relativeCreated": 22066.810846328735,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:16,170"
- }
- ],
- "time_consumption": 0.25258827209472656
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954636.4237263,
- "msecs": 423.72632026672363,
- "relativeCreated": 22319.968700408936,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:16,423",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954636.4235194,
- "msecs": 423.5193729400635,
- "relativeCreated": 22319.761753082275,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:16,423"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954636.423635,
- "msecs": 423.63500595092773,
- "relativeCreated": 22319.87738609314,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:16,423"
- }
- ],
- "time_consumption": 9.131431579589844e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954636.4240663,
- "msecs": 424.06630516052246,
- "relativeCreated": 22320.308685302734,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:16,424",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954636.4238741,
- "msecs": 423.8741397857666,
- "relativeCreated": 22320.11651992798,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:16,423"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954636.423961,
- "msecs": 423.96092414855957,
- "relativeCreated": 22320.20330429077,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:16,423"
- }
- ],
- "time_consumption": 0.00010538101196289062
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954636.7253714,
- "msecs": 725.3713607788086,
- "relativeCreated": 22621.61374092102,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:16,725",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954636.424316,
- "msecs": 424.3159294128418,
- "relativeCreated": 22320.558309555054,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/bed_light_di/state and payload false",
- "asctime": "2023-02-09 15:57:16,424"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954636.425311,
- "msecs": 425.3110885620117,
- "relativeCreated": 22321.553468704224,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'false'",
- "asctime": "2023-02-09 15:57:16,425"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954636.4267752,
- "msecs": 426.7752170562744,
- "relativeCreated": 22323.017597198486,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_di/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:16,426"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954636.4276805,
- "msecs": 427.68049240112305,
- "relativeCreated": 22323.922872543335,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:16,427"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954636.428526,
- "msecs": 428.5259246826172,
- "relativeCreated": 22324.76830482483,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:16,428"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954636.5140038,
- "msecs": 514.0037536621094,
- "relativeCreated": 22410.24613380432,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'false'",
- "asctime": "2023-02-09 15:57:16,514"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954636.5147252,
- "msecs": 514.7252082824707,
- "relativeCreated": 22410.967588424683,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:16,514"
- }
- ],
- "time_consumption": 0.2106461524963379
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954636.7260215,
- "msecs": 726.0215282440186,
- "relativeCreated": 22622.26390838623,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:16,726",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954636.7257829,
- "msecs": 725.7828712463379,
- "relativeCreated": 22622.02525138855,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:16,725"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954636.7259161,
- "msecs": 725.9161472320557,
- "relativeCreated": 22622.158527374268,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:16,725"
- }
- ],
- "time_consumption": 0.00010538101196289062
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954636.7264104,
- "msecs": 726.4103889465332,
- "relativeCreated": 22622.652769088745,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:16,726",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954636.72619,
- "msecs": 726.1900901794434,
- "relativeCreated": 22622.432470321655,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:16,726"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954636.7262866,
- "msecs": 726.2866497039795,
- "relativeCreated": 22622.52902984619,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:16,726"
- }
- ],
- "time_consumption": 0.00012373924255371094
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954637.028664,
- "msecs": 28.664112091064453,
- "relativeCreated": 22924.906492233276,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:17,028",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954636.7267492,
- "msecs": 726.7491817474365,
- "relativeCreated": 22622.99156188965,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:16,726"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954636.727824,
- "msecs": 727.8239727020264,
- "relativeCreated": 22624.06635284424,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:16,727"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954636.774199,
- "msecs": 774.1990089416504,
- "relativeCreated": 22670.441389083862,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'true'",
- "asctime": "2023-02-09 15:57:16,774"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954636.7749696,
- "msecs": 774.9695777893066,
- "relativeCreated": 22671.21195793152,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:16,774"
- }
- ],
- "time_consumption": 0.2536945343017578
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954637.029369,
- "msecs": 29.369115829467773,
- "relativeCreated": 22925.61149597168,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:17,029",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954637.0290976,
- "msecs": 29.097557067871094,
- "relativeCreated": 22925.339937210083,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:17,029"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954637.0292342,
- "msecs": 29.23417091369629,
- "relativeCreated": 22925.47655105591,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:17,029"
- }
- ],
- "time_consumption": 0.00013494491577148438
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954637.029816,
- "msecs": 29.8159122467041,
- "relativeCreated": 22926.058292388916,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:17,029",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954637.02964,
- "msecs": 29.63995933532715,
- "relativeCreated": 22925.88233947754,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:17,029"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954637.029735,
- "msecs": 29.735088348388672,
- "relativeCreated": 22925.9774684906,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:17,029"
- }
- ],
- "time_consumption": 8.082389831542969e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954637.331932,
- "msecs": 331.93206787109375,
- "relativeCreated": 23228.174448013306,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:17,331",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954637.0300746,
- "msecs": 30.074596405029297,
- "relativeCreated": 22926.31697654724,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/bed_light_di/state and payload false",
- "asctime": "2023-02-09 15:57:17,030"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954637.031045,
- "msecs": 31.044960021972656,
- "relativeCreated": 22927.287340164185,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'false'",
- "asctime": "2023-02-09 15:57:17,031"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954637.032493,
- "msecs": 32.49311447143555,
- "relativeCreated": 22928.735494613647,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_di/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:17,032"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954637.0329373,
- "msecs": 32.93728828430176,
- "relativeCreated": 22929.179668426514,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/bed_light_di and payload {\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:17,032"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_di",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_di",
- "b'{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954637.0338275,
- "msecs": 33.82754325866699,
- "relativeCreated": 22930.06992340088,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_di and payload b'{\"state\": \"off\", \"brightness\": 127.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:17,033"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954637.1217415,
- "msecs": 121.74153327941895,
- "relativeCreated": 23017.98391342163,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/state and payload b'false'",
- "asctime": "2023-02-09 15:57:17,121"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_di.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_di/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954637.122623,
- "msecs": 122.62296676635742,
- "relativeCreated": 23018.86534690857,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_di/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:17,122"
- }
- ],
- "time_consumption": 0.20930910110473633
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954637.3325148,
- "msecs": 332.51476287841797,
- "relativeCreated": 23228.75714302063,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:17,332",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954637.332301,
- "msecs": 332.30090141296387,
- "relativeCreated": 23228.543281555176,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:17,332"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954637.3324213,
- "msecs": 332.42130279541016,
- "relativeCreated": 23228.663682937622,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:17,332"
- }
- ],
- "time_consumption": 9.34600830078125e-05
- }
- ],
- "time_consumption": 1.2120087146759033,
- "time_start": "2023-02-09 15:57:16,120",
- "time_finished": "2023-02-09 15:57:17,332"
- },
- "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_ma": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_ma",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954637.3330872,
- "msecs": 333.0872058868408,
- "relativeCreated": 23229.329586029053,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_ma",
- "asctime": "2023-02-09 15:57:17,333",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954637.3335373,
- "msecs": 333.53734016418457,
- "relativeCreated": 23229.779720306396,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:17,333",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954637.3333461,
- "msecs": 333.3461284637451,
- "relativeCreated": 23229.588508605957,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:17,333"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954637.3334506,
- "msecs": 333.4505558013916,
- "relativeCreated": 23229.692935943604,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:17,333"
- }
- ],
- "time_consumption": 8.678436279296875e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954637.6356025,
- "msecs": 635.6024742126465,
- "relativeCreated": 23531.84485435486,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:17,635",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_ma/state",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954637.3337474,
- "msecs": 333.74738693237305,
- "relativeCreated": 23229.989767074585,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/bed_light_ma/state and payload on",
- "asctime": "2023-02-09 15:57:17,333"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_ma/state",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954637.3346932,
- "msecs": 334.69319343566895,
- "relativeCreated": 23230.93557357788,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_ma/state and payload b'on'",
- "asctime": "2023-02-09 15:57:17,334"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_ma/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954637.336575,
- "msecs": 336.5750312805176,
- "relativeCreated": 23232.81741142273,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'true'",
- "asctime": "2023-02-09 15:57:17,336"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_ma/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954637.337263,
- "msecs": 337.2631072998047,
- "relativeCreated": 23233.505487442017,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_ma/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:17,337"
- }
- ],
- "time_consumption": 0.2983393669128418
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954637.63625,
- "msecs": 636.2500190734863,
- "relativeCreated": 23532.4923992157,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:17,636",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954637.636008,
- "msecs": 636.0080242156982,
- "relativeCreated": 23532.25040435791,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:17,636"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954637.636144,
- "msecs": 636.1439228057861,
- "relativeCreated": 23532.386302947998,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:17,636"
- }
- ],
- "time_consumption": 0.00010609626770019531
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954637.6366487,
- "msecs": 636.6486549377441,
- "relativeCreated": 23532.891035079956,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:17,636",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954637.6364176,
- "msecs": 636.4176273345947,
- "relativeCreated": 23532.660007476807,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:17,636"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954637.6365585,
- "msecs": 636.5585327148438,
- "relativeCreated": 23532.800912857056,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:17,636"
- }
- ],
- "time_consumption": 9.012222290039062e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954637.9378967,
- "msecs": 937.896728515625,
- "relativeCreated": 23834.139108657837,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:17,937",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_ma/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954637.6369228,
- "msecs": 636.9228363037109,
- "relativeCreated": 23533.165216445923,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/bed_light_ma/state and payload false",
- "asctime": "2023-02-09 15:57:17,636"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_ma/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954637.6380477,
- "msecs": 638.0476951599121,
- "relativeCreated": 23534.290075302124,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'false'",
- "asctime": "2023-02-09 15:57:17,638"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_ma/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954637.6397922,
- "msecs": 639.7922039031982,
- "relativeCreated": 23536.03458404541,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_ma/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:17,639"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_ma/state",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954637.6401894,
- "msecs": 640.1894092559814,
- "relativeCreated": 23536.431789398193,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/bed_light_ma/state and payload off",
- "asctime": "2023-02-09 15:57:17,640"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_ma/state",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954637.6411605,
- "msecs": 641.1604881286621,
- "relativeCreated": 23537.402868270874,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_ma/state and payload b'off'",
- "asctime": "2023-02-09 15:57:17,641"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_ma/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954637.6851501,
- "msecs": 685.150146484375,
- "relativeCreated": 23581.392526626587,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'false'",
- "asctime": "2023-02-09 15:57:17,685"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_ma/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954637.6858747,
- "msecs": 685.8747005462646,
- "relativeCreated": 23582.117080688477,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_ma/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:17,685"
- }
- ],
- "time_consumption": 0.25202202796936035
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954637.938582,
- "msecs": 938.5819435119629,
- "relativeCreated": 23834.824323654175,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:17,938",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954637.9383075,
- "msecs": 938.307523727417,
- "relativeCreated": 23834.54990386963,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:17,938"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954637.9384432,
- "msecs": 938.4431838989258,
- "relativeCreated": 23834.685564041138,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:17,938"
- }
- ],
- "time_consumption": 0.00013875961303710938
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954637.9389434,
- "msecs": 938.9433860778809,
- "relativeCreated": 23835.185766220093,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:17,938",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954637.9387555,
- "msecs": 938.7555122375488,
- "relativeCreated": 23834.99789237976,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:17,938"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954637.9388552,
- "msecs": 938.8551712036133,
- "relativeCreated": 23835.097551345825,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:17,938"
- }
- ],
- "time_consumption": 8.821487426757812e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954638.240072,
- "msecs": 240.07201194763184,
- "relativeCreated": 24136.314392089844,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:18,240",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_ma/state",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954637.939166,
- "msecs": 939.1660690307617,
- "relativeCreated": 23835.408449172974,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/bed_light_ma/state and payload on",
- "asctime": "2023-02-09 15:57:17,939"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_ma/state",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954637.9402587,
- "msecs": 940.2587413787842,
- "relativeCreated": 23836.501121520996,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_ma/state and payload b'on'",
- "asctime": "2023-02-09 15:57:17,940"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_ma/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954637.942486,
- "msecs": 942.486047744751,
- "relativeCreated": 23838.728427886963,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'true'",
- "asctime": "2023-02-09 15:57:17,942"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_ma/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954637.943155,
- "msecs": 943.15505027771,
- "relativeCreated": 23839.397430419922,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_ma/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:17,943"
- }
- ],
- "time_consumption": 0.2969169616699219
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954638.240694,
- "msecs": 240.6940460205078,
- "relativeCreated": 24136.93642616272,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:18,240",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954638.2404544,
- "msecs": 240.45443534851074,
- "relativeCreated": 24136.696815490723,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:18,240"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954638.2405891,
- "msecs": 240.58914184570312,
- "relativeCreated": 24136.831521987915,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:18,240"
- }
- ],
- "time_consumption": 0.0001049041748046875
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954638.2411332,
- "msecs": 241.1332130432129,
- "relativeCreated": 24137.375593185425,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:18,241",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954638.240905,
- "msecs": 240.9050464630127,
- "relativeCreated": 24137.147426605225,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:18,240"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954638.2410064,
- "msecs": 241.00637435913086,
- "relativeCreated": 24137.248754501343,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:18,241"
- }
- ],
- "time_consumption": 0.00012683868408203125
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954638.5422943,
- "msecs": 542.2942638397217,
- "relativeCreated": 24438.536643981934,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:18,542",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_ma/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954638.2414129,
- "msecs": 241.41287803649902,
- "relativeCreated": 24137.65525817871,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/bed_light_ma/state and payload false",
- "asctime": "2023-02-09 15:57:18,241"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_ma/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.2424257,
- "msecs": 242.42568016052246,
- "relativeCreated": 24138.668060302734,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'false'",
- "asctime": "2023-02-09 15:57:18,242"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_ma/set",
- "b'{\"state\": \"off\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.2438886,
- "msecs": 243.88861656188965,
- "relativeCreated": 24140.1309967041,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_ma/set and payload b'{\"state\": \"off\"}'",
- "asctime": "2023-02-09 15:57:18,243"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_ma/state",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954638.2442434,
- "msecs": 244.24338340759277,
- "relativeCreated": 24140.485763549805,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/bed_light_ma/state and payload off",
- "asctime": "2023-02-09 15:57:18,244"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.bed_light_ma.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/bed_light_ma/state",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.2450893,
- "msecs": 245.08929252624512,
- "relativeCreated": 24141.331672668457,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/bed_light_ma/state and payload b'off'",
- "asctime": "2023-02-09 15:57:18,245"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_ma/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.287914,
- "msecs": 287.9140377044678,
- "relativeCreated": 24184.15641784668,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_ma/state and payload b'false'",
- "asctime": "2023-02-09 15:57:18,287"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.bed_light_ma.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/bed_light_ma/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.2885756,
- "msecs": 288.5756492614746,
- "relativeCreated": 24184.818029403687,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/bed_light_ma/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:18,288"
- }
- ],
- "time_consumption": 0.25371861457824707
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954638.5429757,
- "msecs": 542.975664138794,
- "relativeCreated": 24439.218044281006,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:18,542",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954638.5426996,
- "msecs": 542.6995754241943,
- "relativeCreated": 24438.941955566406,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:18,542"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954638.5428677,
- "msecs": 542.8676605224609,
- "relativeCreated": 24439.110040664673,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:18,542"
- }
- ],
- "time_consumption": 0.00010800361633300781
- }
- ],
- "time_consumption": 1.2098884582519531,
- "time_start": "2023-02-09 15:57:17,333",
- "time_finished": "2023-02-09 15:57:18,542"
- },
- "Away mode test: zigbee/ffe/sleep/heating_valve": {
- "name": "__tLogger__",
- "msg": "Away mode test: zigbee/ffe/sleep/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 101,
- "funcName": "test_away_mode",
- "created": 1675954638.5434868,
- "msecs": 543.4868335723877,
- "relativeCreated": 24439.7292137146,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Away mode test: zigbee/ffe/sleep/heating_valve",
- "asctime": "2023-02-09 15:57:18,543",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Default setpoint)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 106,
- "funcName": "__test_away_mode__",
- "created": 1675954638.8455517,
- "msecs": 845.5517292022705,
- "relativeCreated": 24741.794109344482,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Default setpoint)",
- "asctime": "2023-02-09 15:57:18,845",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954638.543824,
- "msecs": 543.8239574432373,
- "relativeCreated": 24440.06633758545,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:57:18,543"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.5449243,
- "msecs": 544.924259185791,
- "relativeCreated": 24441.166639328003,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:57:18,544"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/user_temperature_setpoint",
- "b'21.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.564056,
- "msecs": 564.0559196472168,
- "relativeCreated": 24460.29829978943,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5'",
- "asctime": "2023-02-09 15:57:18,564"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.564892,
- "msecs": 564.892053604126,
- "relativeCreated": 24461.134433746338,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:18,564"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve/set",
- "b'{\"current_heating_setpoint\": 21.5}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.565582,
- "msecs": 565.5820369720459,
- "relativeCreated": 24461.824417114258,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'",
- "asctime": "2023-02-09 15:57:18,565"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954638.5660093,
- "msecs": 566.0092830657959,
- "relativeCreated": 24462.251663208008,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:18,566"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/valve_temperature_setpoint",
- "b'21.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.5666232,
- "msecs": 566.6232109069824,
- "relativeCreated": 24462.865591049194,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'",
- "asctime": "2023-02-09 15:57:18,566"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.5675263,
- "msecs": 567.5263404846191,
- "relativeCreated": 24463.76872062683,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:18,567"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.5682309,
- "msecs": 568.2308673858643,
- "relativeCreated": 24464.473247528076,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:18,568"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.6126537,
- "msecs": 612.6537322998047,
- "relativeCreated": 24508.896112442017,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:18,612"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.654172,
- "msecs": 654.1719436645508,
- "relativeCreated": 24550.414323806763,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:18,654"
- }
- ],
- "time_consumption": 0.19137978553771973
- },
- {
- "name": "__tLogger__",
- "msg": "Away mode is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954638.846125,
- "msecs": 846.1248874664307,
- "relativeCreated": 24742.367267608643,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Away mode is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:18,846",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Away mode",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954638.8459086,
- "msecs": 845.9086418151855,
- "relativeCreated": 24742.151021957397,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Away mode): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:18,845"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Away mode",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954638.8460314,
- "msecs": 846.0314273834229,
- "relativeCreated": 24742.273807525635,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Away mode): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:18,846"
- }
- ],
- "time_consumption": 9.34600830078125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Activating away mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 113,
- "funcName": "__test_away_mode__",
- "created": 1675954639.1483274,
- "msecs": 148.32735061645508,
- "relativeCreated": 25044.569730758667,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Activating away mode",
- "asctime": "2023-02-09 15:57:19,148",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.away_mode",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/away_mode",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954638.8464553,
- "msecs": 846.4553356170654,
- "relativeCreated": 24742.697715759277,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/heating_valve/away_mode and payload true",
- "asctime": "2023-02-09 15:57:18,846"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.away_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/away_mode",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.8474634,
- "msecs": 847.4633693695068,
- "relativeCreated": 24743.70574951172,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/away_mode and payload b'true'",
- "asctime": "2023-02-09 15:57:18,847"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve/set",
- "b'{\"current_heating_setpoint\": 16.5}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.8638935,
- "msecs": 863.8935089111328,
- "relativeCreated": 24760.135889053345,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 16.5}'",
- "asctime": "2023-02-09 15:57:18,863"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954638.864381,
- "msecs": 864.3810749053955,
- "relativeCreated": 24760.623455047607,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:18,864"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/valve_temperature_setpoint",
- "b'16.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.8649037,
- "msecs": 864.9036884307861,
- "relativeCreated": 24761.146068572998,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'16.5'",
- "asctime": "2023-02-09 15:57:18,864"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.865659,
- "msecs": 865.6589984893799,
- "relativeCreated": 24761.90137863159,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:18,865"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.away_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/away_mode",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.866218,
- "msecs": 866.218090057373,
- "relativeCreated": 24762.460470199585,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/away_mode and payload b'true'",
- "asctime": "2023-02-09 15:57:18,866"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.8667285,
- "msecs": 866.7285442352295,
- "relativeCreated": 24762.97092437744,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:18,866"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.8672268,
- "msecs": 867.2268390655518,
- "relativeCreated": 24763.469219207764,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:18,867"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.9135103,
- "msecs": 913.5103225708008,
- "relativeCreated": 24809.752702713013,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:18,913"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954638.9495714,
- "msecs": 949.5713710784912,
- "relativeCreated": 24845.813751220703,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:18,949"
- }
- ],
- "time_consumption": 0.19875597953796387
- },
- {
- "name": "__tLogger__",
- "msg": "Away mode is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954639.1488945,
- "msecs": 148.8945484161377,
- "relativeCreated": 25045.13692855835,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Away mode is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:19,148",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Away mode",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954639.14868,
- "msecs": 148.6799716949463,
- "relativeCreated": 25044.92235183716,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Away mode): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:19,148"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Away mode",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954639.1487997,
- "msecs": 148.79965782165527,
- "relativeCreated": 25045.042037963867,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Away mode): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:19,148"
- }
- ],
- "time_consumption": 9.489059448242188e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "16.5",
- "<class 'float'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954639.149276,
- "msecs": 149.2760181427002,
- "relativeCreated": 25045.518398284912,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Temperature setpoint is correct (Content 16.5 and Type is <class 'float'>).",
- "asctime": "2023-02-09 15:57:19,149",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Temperature setpoint",
- "16.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954639.1490946,
- "msecs": 149.0945816040039,
- "relativeCreated": 25045.336961746216,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Temperature setpoint): 16.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:19,149"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Temperature setpoint",
- "=",
- "16.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954639.1491919,
- "msecs": 149.19185638427734,
- "relativeCreated": 25045.43423652649,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Temperature setpoint): result = 16.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:19,149"
- }
- ],
- "time_consumption": 8.416175842285156e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Deactivating away mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 119,
- "funcName": "__test_away_mode__",
- "created": 1675954639.4514613,
- "msecs": 451.4613151550293,
- "relativeCreated": 25347.70369529724,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Deactivating away mode",
- "asctime": "2023-02-09 15:57:19,451",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.away_mode",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/away_mode",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954639.1495771,
- "msecs": 149.57714080810547,
- "relativeCreated": 25045.819520950317,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/heating_valve/away_mode and payload false",
- "asctime": "2023-02-09 15:57:19,149"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.away_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/away_mode",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.1505537,
- "msecs": 150.55370330810547,
- "relativeCreated": 25046.796083450317,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/away_mode and payload b'false'",
- "asctime": "2023-02-09 15:57:19,150"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve/set",
- "b'{\"current_heating_setpoint\": 21.5}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.160737,
- "msecs": 160.7370376586914,
- "relativeCreated": 25056.979417800903,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'",
- "asctime": "2023-02-09 15:57:19,160"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954639.1612196,
- "msecs": 161.21959686279297,
- "relativeCreated": 25057.461977005005,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:19,161"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/valve_temperature_setpoint",
- "b'21.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.1617413,
- "msecs": 161.7412567138672,
- "relativeCreated": 25057.98363685608,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'",
- "asctime": "2023-02-09 15:57:19,161"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.1624067,
- "msecs": 162.40668296813965,
- "relativeCreated": 25058.64906311035,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:19,162"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.away_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/away_mode",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.1629455,
- "msecs": 162.94550895690918,
- "relativeCreated": 25059.18788909912,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/away_mode and payload b'false'",
- "asctime": "2023-02-09 15:57:19,162"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.1634524,
- "msecs": 163.4523868560791,
- "relativeCreated": 25059.69476699829,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:19,163"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.1639888,
- "msecs": 163.98882865905762,
- "relativeCreated": 25060.23120880127,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:19,163"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.2093875,
- "msecs": 209.38754081726074,
- "relativeCreated": 25105.629920959473,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:19,209"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.2509584,
- "msecs": 250.95844268798828,
- "relativeCreated": 25147.2008228302,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:19,250"
- }
- ],
- "time_consumption": 0.20050287246704102
- },
- {
- "name": "__tLogger__",
- "msg": "Away mode is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954639.4521306,
- "msecs": 452.1305561065674,
- "relativeCreated": 25348.37293624878,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Away mode is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:19,452",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Away mode",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954639.4518838,
- "msecs": 451.88379287719727,
- "relativeCreated": 25348.12617301941,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Away mode): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:19,451"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Away mode",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954639.452023,
- "msecs": 452.0230293273926,
- "relativeCreated": 25348.265409469604,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Away mode): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:19,452"
- }
- ],
- "time_consumption": 0.00010752677917480469
- },
- {
- "name": "__tLogger__",
- "msg": "Temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954639.452508,
- "msecs": 452.50797271728516,
- "relativeCreated": 25348.750352859497,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Temperature setpoint is correct (Content 21.5 and Type is <class 'float'>).",
- "asctime": "2023-02-09 15:57:19,452",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Temperature setpoint",
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954639.4523108,
- "msecs": 452.31080055236816,
- "relativeCreated": 25348.55318069458,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Temperature setpoint): 21.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:19,452"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Temperature setpoint",
- "=",
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954639.4524162,
- "msecs": 452.41618156433105,
- "relativeCreated": 25348.658561706543,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Temperature setpoint): result = 21.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:19,452"
- }
- ],
- "time_consumption": 9.179115295410156e-05
- }
- ],
- "time_consumption": 0.9090211391448975,
- "time_start": "2023-02-09 15:57:18,543",
- "time_finished": "2023-02-09 15:57:19,452"
- },
- "Boost mode test: zigbee/ffe/sleep/heating_valve": {
- "name": "__tLogger__",
- "msg": "Boost mode test: zigbee/ffe/sleep/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 128,
- "funcName": "test_boost_mode",
- "created": 1675954639.45296,
- "msecs": 452.9600143432617,
- "relativeCreated": 25349.202394485474,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Boost mode test: zigbee/ffe/sleep/heating_valve",
- "asctime": "2023-02-09 15:57:19,452",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Default setpoint)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 133,
- "funcName": "__test_boost_mode__",
- "created": 1675954639.7552032,
- "msecs": 755.2032470703125,
- "relativeCreated": 25651.445627212524,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Default setpoint)",
- "asctime": "2023-02-09 15:57:19,755",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954639.4532905,
- "msecs": 453.2904624938965,
- "relativeCreated": 25349.53284263611,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:57:19,453"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.4543636,
- "msecs": 454.3635845184326,
- "relativeCreated": 25350.605964660645,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:57:19,454"
- }
- ],
- "time_consumption": 0.3008396625518799
- },
- {
- "name": "__tLogger__",
- "msg": "Boost timer is correct (Content %s and Type is %s).",
- "args": [
- "0",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954639.7558353,
- "msecs": 755.8352947235107,
- "relativeCreated": 25652.077674865723,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:19,755",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Boost timer",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954639.7555907,
- "msecs": 755.5906772613525,
- "relativeCreated": 25651.833057403564,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Boost timer): 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:19,755"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Boost timer",
- "=",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954639.7557278,
- "msecs": 755.7277679443359,
- "relativeCreated": 25651.970148086548,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:19,755"
- }
- ],
- "time_consumption": 0.00010752677917480469
- },
- {
- "name": "__tLogger__",
- "msg": "Activating boost mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 140,
- "funcName": "__test_boost_mode__",
- "created": 1675954640.0581336,
- "msecs": 58.133602142333984,
- "relativeCreated": 25954.375982284546,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Activating boost mode",
- "asctime": "2023-02-09 15:57:20,058",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.start_boost",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/start_boost",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954639.7561743,
- "msecs": 756.1743259429932,
- "relativeCreated": 25652.416706085205,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/heating_valve/start_boost and payload true",
- "asctime": "2023-02-09 15:57:19,756"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.start_boost",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/start_boost",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.757298,
- "msecs": 757.2979927062988,
- "relativeCreated": 25653.54037284851,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/start_boost and payload b'true'",
- "asctime": "2023-02-09 15:57:19,757"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.boost_timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/boost_timer",
- "b'900'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.7709289,
- "msecs": 770.9288597106934,
- "relativeCreated": 25667.171239852905,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/boost_timer and payload b'900'",
- "asctime": "2023-02-09 15:57:19,770"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.7716212,
- "msecs": 771.6212272644043,
- "relativeCreated": 25667.863607406616,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:19,771"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve/set",
- "b'{\"current_heating_setpoint\": 30}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.7722518,
- "msecs": 772.2518444061279,
- "relativeCreated": 25668.49422454834,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 30}'",
- "asctime": "2023-02-09 15:57:19,772"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954639.7726822,
- "msecs": 772.6821899414062,
- "relativeCreated": 25668.924570083618,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:19,772"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/valve_temperature_setpoint",
- "b'30'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.7733068,
- "msecs": 773.3068466186523,
- "relativeCreated": 25669.549226760864,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'30'",
- "asctime": "2023-02-09 15:57:19,773"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.774079,
- "msecs": 774.0790843963623,
- "relativeCreated": 25670.321464538574,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:19,774"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.7746816,
- "msecs": 774.681568145752,
- "relativeCreated": 25670.923948287964,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:19,774"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.817519,
- "msecs": 817.518949508667,
- "relativeCreated": 25713.76132965088,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:19,817"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954639.8590424,
- "msecs": 859.0424060821533,
- "relativeCreated": 25755.284786224365,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:19,859"
- }
- ],
- "time_consumption": 0.19909119606018066
- },
- {
- "name": "__tLogger__",
- "msg": "Boost timer is greater expectation (Content %s and Type is %s).",
- "args": [
- "900",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 230,
- "funcName": "greater_chk",
- "created": 1675954640.0587828,
- "msecs": 58.78281593322754,
- "relativeCreated": 25955.02519607544,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Boost timer is greater expectation (Content 900 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:20,058",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Boost timer",
- "900",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954640.0585263,
- "msecs": 58.52627754211426,
- "relativeCreated": 25954.768657684326,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Boost timer): 900 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:20,058"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Boost timer",
- ">",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954640.0586705,
- "msecs": 58.6705207824707,
- "relativeCreated": 25954.912900924683,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Boost timer): result > 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:20,058"
- }
- ],
- "time_consumption": 0.00011229515075683594
- },
- {
- "name": "__tLogger__",
- "msg": "Setting postconditions (Default setpoint)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 145,
- "funcName": "__test_boost_mode__",
- "created": 1675954640.3600583,
- "msecs": 360.0583076477051,
- "relativeCreated": 26256.300687789917,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting postconditions (Default setpoint)",
- "asctime": "2023-02-09 15:57:20,360",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954640.0590653,
- "msecs": 59.06534194946289,
- "relativeCreated": 25955.307722091675,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:57:20,059"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.0601754,
- "msecs": 60.175418853759766,
- "relativeCreated": 25956.41779899597,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:57:20,060"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.boost_timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/boost_timer",
- "b'0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.0737321,
- "msecs": 73.73213768005371,
- "relativeCreated": 25969.974517822266,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/boost_timer and payload b'0'",
- "asctime": "2023-02-09 15:57:20,073"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.0744262,
- "msecs": 74.42617416381836,
- "relativeCreated": 25970.66855430603,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:20,074"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve/set",
- "b'{\"current_heating_setpoint\": 21.5}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.0749888,
- "msecs": 74.98884201049805,
- "relativeCreated": 25971.23122215271,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'",
- "asctime": "2023-02-09 15:57:20,074"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954640.0753818,
- "msecs": 75.38175582885742,
- "relativeCreated": 25971.62413597107,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:20,075"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/valve_temperature_setpoint",
- "b'21.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.075897,
- "msecs": 75.8969783782959,
- "relativeCreated": 25972.139358520508,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'",
- "asctime": "2023-02-09 15:57:20,075"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.0765722,
- "msecs": 76.57217979431152,
- "relativeCreated": 25972.814559936523,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:20,076"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.0771317,
- "msecs": 77.13174819946289,
- "relativeCreated": 25973.374128341675,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:20,077"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.1249878,
- "msecs": 124.98784065246582,
- "relativeCreated": 26021.230220794678,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:20,124"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.1658635,
- "msecs": 165.8635139465332,
- "relativeCreated": 26062.105894088745,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:20,165"
- }
- ],
- "time_consumption": 0.19419479370117188
- },
- {
- "name": "__tLogger__",
- "msg": "Boost timer is correct (Content %s and Type is %s).",
- "args": [
- "0",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954640.3606281,
- "msecs": 360.6281280517578,
- "relativeCreated": 26256.87050819397,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:20,360",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Boost timer",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954640.3604121,
- "msecs": 360.4121208190918,
- "relativeCreated": 26256.654500961304,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Boost timer): 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:20,360"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Boost timer",
- "=",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954640.3605325,
- "msecs": 360.5325222015381,
- "relativeCreated": 26256.77490234375,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:20,360"
- }
- ],
- "time_consumption": 9.560585021972656e-05
- }
- ],
- "time_consumption": 0.9076681137084961,
- "time_start": "2023-02-09 15:57:19,452",
- "time_finished": "2023-02-09 15:57:20,360"
- },
- "Default temperature test for device and virtual device: zigbee/ffe/sleep/heating_valve": {
- "name": "__tLogger__",
- "msg": "Default temperature test for device and virtual device: zigbee/ffe/sleep/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 50,
- "funcName": "test_default_temperature",
- "created": 1675954640.3610911,
- "msecs": 361.09113693237305,
- "relativeCreated": 26257.333517074585,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Default temperature test for device and virtual device: zigbee/ffe/sleep/heating_valve",
- "asctime": "2023-02-09 15:57:20,361",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Valve setpoint to %.1f)",
- "args": [
- 16.5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 60,
- "funcName": "__test_default_temperature__",
- "created": 1675954640.663343,
- "msecs": 663.3429527282715,
- "relativeCreated": 26559.585332870483,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Valve setpoint to 16.5)",
- "asctime": "2023-02-09 15:57:20,663",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954640.361464,
- "msecs": 361.4640235900879,
- "relativeCreated": 26257.7064037323,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:20,361"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.362438,
- "msecs": 362.4379634857178,
- "relativeCreated": 26258.68034362793,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:20,362"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve/set",
- "b'{\"current_heating_setpoint\": 16.5}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.3806758,
- "msecs": 380.6757926940918,
- "relativeCreated": 26276.918172836304,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 16.5}'",
- "asctime": "2023-02-09 15:57:20,380"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/valve_temperature_setpoint",
- "b'16.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.3813791,
- "msecs": 381.3791275024414,
- "relativeCreated": 26277.621507644653,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'16.5'",
- "asctime": "2023-02-09 15:57:20,381"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.3825123,
- "msecs": 382.51233100891113,
- "relativeCreated": 26278.754711151123,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:20,382"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/user_temperature_setpoint",
- "b'16.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.3830853,
- "msecs": 383.0852508544922,
- "relativeCreated": 26279.327630996704,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'16.5'",
- "asctime": "2023-02-09 15:57:20,383"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.383671,
- "msecs": 383.6710453033447,
- "relativeCreated": 26279.913425445557,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:20,383"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.3841884,
- "msecs": 384.1884136199951,
- "relativeCreated": 26280.430793762207,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:20,384"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.384767,
- "msecs": 384.7670555114746,
- "relativeCreated": 26281.009435653687,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:20,384"
- }
- ],
- "time_consumption": 0.2785758972167969
- },
- {
- "name": "__tLogger__",
- "msg": "Valve temperature setpoint (is not default temperature) is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954640.6640723,
- "msecs": 664.0722751617432,
- "relativeCreated": 26560.314655303955,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Valve temperature setpoint (is not default temperature) is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:20,664",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Valve temperature setpoint (is not default temperature)",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954640.6638212,
- "msecs": 663.8212203979492,
- "relativeCreated": 26560.06360054016,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Valve temperature setpoint (is not default temperature)): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:20,663"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Valve temperature setpoint (is not default temperature)",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954640.663961,
- "msecs": 663.9609336853027,
- "relativeCreated": 26560.203313827515,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Valve temperature setpoint (is not default temperature)): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:20,663"
- }
- ],
- "time_consumption": 0.00011134147644042969
- },
- {
- "name": "__tLogger__",
- "msg": "Triggering set to default temperature (%.1f)",
- "args": [
- 21.5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 66,
- "funcName": "__test_default_temperature__",
- "created": 1675954640.9663053,
- "msecs": 966.3052558898926,
- "relativeCreated": 26862.547636032104,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Triggering set to default temperature (21.5)",
- "asctime": "2023-02-09 15:57:20,966",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954640.6643538,
- "msecs": 664.3538475036621,
- "relativeCreated": 26560.596227645874,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:57:20,664"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.665504,
- "msecs": 665.503978729248,
- "relativeCreated": 26561.74635887146,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:57:20,665"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/user_temperature_setpoint",
- "b'21.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.6854615,
- "msecs": 685.4615211486816,
- "relativeCreated": 26581.703901290894,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5'",
- "asctime": "2023-02-09 15:57:20,685"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.6862326,
- "msecs": 686.2325668334961,
- "relativeCreated": 26582.474946975708,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:20,686"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve/set",
- "b'{\"current_heating_setpoint\": 21.5}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.68687,
- "msecs": 686.8700981140137,
- "relativeCreated": 26583.112478256226,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'",
- "asctime": "2023-02-09 15:57:20,686"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954640.68732,
- "msecs": 687.3199939727783,
- "relativeCreated": 26583.56237411499,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:20,687"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/valve_temperature_setpoint",
- "b'21.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.687917,
- "msecs": 687.9169940948486,
- "relativeCreated": 26584.15937423706,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'",
- "asctime": "2023-02-09 15:57:20,687"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.6886723,
- "msecs": 688.6723041534424,
- "relativeCreated": 26584.914684295654,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:20,688"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.6892943,
- "msecs": 689.2943382263184,
- "relativeCreated": 26585.53671836853,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:20,689"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.7376733,
- "msecs": 737.673282623291,
- "relativeCreated": 26633.915662765503,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:20,737"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.7830434,
- "msecs": 783.043384552002,
- "relativeCreated": 26679.285764694214,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:20,783"
- }
- ],
- "time_consumption": 0.18326187133789062
- },
- {
- "name": "__tLogger__",
- "msg": "Valve temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954640.9669888,
- "msecs": 966.9888019561768,
- "relativeCreated": 26863.23118209839,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Valve temperature setpoint is correct (Content 21.5 and Type is <class 'float'>).",
- "asctime": "2023-02-09 15:57:20,966",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Valve temperature setpoint",
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954640.966733,
- "msecs": 966.7329788208008,
- "relativeCreated": 26862.975358963013,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Valve temperature setpoint): 21.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:20,966"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Valve temperature setpoint",
- "=",
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954640.9668765,
- "msecs": 966.8765068054199,
- "relativeCreated": 26863.118886947632,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Valve temperature setpoint): result = 21.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:20,966"
- }
- ],
- "time_consumption": 0.00011229515075683594
- }
- ],
- "time_consumption": 0.6058976650238037,
- "time_start": "2023-02-09 15:57:20,361",
- "time_finished": "2023-02-09 15:57:20,966"
- },
- "Summer mode test: zigbee/ffe/sleep/heating_valve": {
- "name": "__tLogger__",
- "msg": "Summer mode test: zigbee/ffe/sleep/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 74,
- "funcName": "test_summer_mode",
- "created": 1675954640.967436,
- "msecs": 967.4360752105713,
- "relativeCreated": 26863.678455352783,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Summer mode test: zigbee/ffe/sleep/heating_valve",
- "asctime": "2023-02-09 15:57:20,967",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Default setpoint)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 79,
- "funcName": "__test_summer_mode__",
- "created": 1675954641.2696855,
- "msecs": 269.6855068206787,
- "relativeCreated": 27165.92788696289,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Default setpoint)",
- "asctime": "2023-02-09 15:57:21,269",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954640.967744,
- "msecs": 967.7441120147705,
- "relativeCreated": 26863.986492156982,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:57:20,967"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954640.968846,
- "msecs": 968.8460826873779,
- "relativeCreated": 26865.08846282959,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:57:20,968"
- }
- ],
- "time_consumption": 0.3008394241333008
- },
- {
- "name": "__tLogger__",
- "msg": "Summer mode is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954641.2703452,
- "msecs": 270.34521102905273,
- "relativeCreated": 27166.587591171265,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:21,270",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Summer mode",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954641.2700655,
- "msecs": 270.0655460357666,
- "relativeCreated": 27166.30792617798,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Summer mode): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:21,270"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Summer mode",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954641.2702036,
- "msecs": 270.2035903930664,
- "relativeCreated": 27166.44597053528,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Summer mode): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:21,270"
- }
- ],
- "time_consumption": 0.00014162063598632812
- },
- {
- "name": "__tLogger__",
- "msg": "Activating summer mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 86,
- "funcName": "__test_summer_mode__",
- "created": 1675954641.572622,
- "msecs": 572.6220607757568,
- "relativeCreated": 27468.86444091797,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Activating summer mode",
- "asctime": "2023-02-09 15:57:21,572",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.summer_mode",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/summer_mode",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954641.270683,
- "msecs": 270.68305015563965,
- "relativeCreated": 27166.92543029785,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/heating_valve/summer_mode and payload true",
- "asctime": "2023-02-09 15:57:21,270"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.summer_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/summer_mode",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.2717662,
- "msecs": 271.76618576049805,
- "relativeCreated": 27168.00856590271,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/summer_mode and payload b'true'",
- "asctime": "2023-02-09 15:57:21,271"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve/set",
- "b'{\"current_heating_setpoint\": 5}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.2896128,
- "msecs": 289.6127700805664,
- "relativeCreated": 27185.85515022278,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 5}'",
- "asctime": "2023-02-09 15:57:21,289"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954641.2901647,
- "msecs": 290.1647090911865,
- "relativeCreated": 27186.4070892334,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:21,290"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/valve_temperature_setpoint",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.2907774,
- "msecs": 290.77744483947754,
- "relativeCreated": 27187.01982498169,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'5'",
- "asctime": "2023-02-09 15:57:21,290"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.2915921,
- "msecs": 291.5921211242676,
- "relativeCreated": 27187.83450126648,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:21,291"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.summer_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/summer_mode",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.2922056,
- "msecs": 292.2055721282959,
- "relativeCreated": 27188.447952270508,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/summer_mode and payload b'true'",
- "asctime": "2023-02-09 15:57:21,292"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.2927866,
- "msecs": 292.7865982055664,
- "relativeCreated": 27189.02897834778,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:21,292"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.2933943,
- "msecs": 293.3943271636963,
- "relativeCreated": 27189.63670730591,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:21,293"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.3376458,
- "msecs": 337.6457691192627,
- "relativeCreated": 27233.888149261475,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:21,337"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.3790567,
- "msecs": 379.0566921234131,
- "relativeCreated": 27275.299072265625,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:21,379"
- }
- ],
- "time_consumption": 0.19356536865234375
- },
- {
- "name": "__tLogger__",
- "msg": "Summer mode is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954641.5732968,
- "msecs": 573.2967853546143,
- "relativeCreated": 27469.539165496826,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Summer mode is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:21,573",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Summer mode",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954641.5730162,
- "msecs": 573.0161666870117,
- "relativeCreated": 27469.258546829224,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Summer mode): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:21,573"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Summer mode",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954641.5731862,
- "msecs": 573.1861591339111,
- "relativeCreated": 27469.428539276123,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Summer mode): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:21,573"
- }
- ],
- "time_consumption": 0.000110626220703125
- },
- {
- "name": "__tLogger__",
- "msg": "Temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954641.5736573,
- "msecs": 573.6572742462158,
- "relativeCreated": 27469.899654388428,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Temperature setpoint is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:21,573",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Temperature setpoint",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954641.5734673,
- "msecs": 573.4672546386719,
- "relativeCreated": 27469.709634780884,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Temperature setpoint): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:21,573"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Temperature setpoint",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954641.573567,
- "msecs": 573.5669136047363,
- "relativeCreated": 27469.80929374695,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Temperature setpoint): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:21,573"
- }
- ],
- "time_consumption": 9.036064147949219e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Deactivating summer mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 92,
- "funcName": "__test_summer_mode__",
- "created": 1675954641.8757608,
- "msecs": 875.7607936859131,
- "relativeCreated": 27772.003173828125,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Deactivating summer mode",
- "asctime": "2023-02-09 15:57:21,875",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.summer_mode",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/summer_mode",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954641.5739436,
- "msecs": 573.9436149597168,
- "relativeCreated": 27470.18599510193,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/heating_valve/summer_mode and payload false",
- "asctime": "2023-02-09 15:57:21,573"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.summer_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/summer_mode",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.575062,
- "msecs": 575.0620365142822,
- "relativeCreated": 27471.304416656494,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/summer_mode and payload b'false'",
- "asctime": "2023-02-09 15:57:21,575"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve/set",
- "b'{\"current_heating_setpoint\": 21.5}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.5870988,
- "msecs": 587.0988368988037,
- "relativeCreated": 27483.341217041016,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'",
- "asctime": "2023-02-09 15:57:21,587"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954641.587674,
- "msecs": 587.6739025115967,
- "relativeCreated": 27483.91628265381,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:21,587"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/valve_temperature_setpoint",
- "b'21.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.5882604,
- "msecs": 588.2604122161865,
- "relativeCreated": 27484.5027923584,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'",
- "asctime": "2023-02-09 15:57:21,588"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.5890737,
- "msecs": 589.073657989502,
- "relativeCreated": 27485.316038131714,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:21,589"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.summer_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/summer_mode",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.5897028,
- "msecs": 589.702844619751,
- "relativeCreated": 27485.945224761963,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/summer_mode and payload b'false'",
- "asctime": "2023-02-09 15:57:21,589"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.590282,
- "msecs": 590.2819633483887,
- "relativeCreated": 27486.5243434906,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:21,590"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.590854,
- "msecs": 590.8539295196533,
- "relativeCreated": 27487.096309661865,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:21,590"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.638489,
- "msecs": 638.4890079498291,
- "relativeCreated": 27534.73138809204,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:21,638"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.6820307,
- "msecs": 682.0306777954102,
- "relativeCreated": 27578.273057937622,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:21,682"
- }
- ],
- "time_consumption": 0.19373011589050293
- },
- {
- "name": "__tLogger__",
- "msg": "Summer mode is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954641.87643,
- "msecs": 876.4300346374512,
- "relativeCreated": 27772.672414779663,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:21,876",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Summer mode",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954641.876147,
- "msecs": 876.1470317840576,
- "relativeCreated": 27772.38941192627,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Summer mode): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:21,876"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Summer mode",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954641.8762846,
- "msecs": 876.2845993041992,
- "relativeCreated": 27772.52697944641,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Summer mode): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:21,876"
- }
- ],
- "time_consumption": 0.00014543533325195312
- },
- {
- "name": "__tLogger__",
- "msg": "Temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954641.8768394,
- "msecs": 876.8393993377686,
- "relativeCreated": 27773.08177947998,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Temperature setpoint is correct (Content 21.5 and Type is <class 'float'>).",
- "asctime": "2023-02-09 15:57:21,876",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Temperature setpoint",
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954641.8766148,
- "msecs": 876.6148090362549,
- "relativeCreated": 27772.857189178467,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Temperature setpoint): 21.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:21,876"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Temperature setpoint",
- "=",
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954641.876734,
- "msecs": 876.7340183258057,
- "relativeCreated": 27772.976398468018,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Temperature setpoint): result = 21.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:21,876"
- }
- ],
- "time_consumption": 0.00010538101196289062
- }
- ],
- "time_consumption": 0.9094033241271973,
- "time_start": "2023-02-09 15:57:20,967",
- "time_finished": "2023-02-09 15:57:21,876"
- },
- "User temperature setpoint test for device and virtual device: zigbee/ffe/sleep/heating_valve": {
- "name": "__tLogger__",
- "msg": "User temperature setpoint test for device and virtual device: zigbee/ffe/sleep/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "test_user_temperature_setpoint",
- "created": 1675954641.877316,
- "msecs": 877.3159980773926,
- "relativeCreated": 27773.558378219604,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "User temperature setpoint test for device and virtual device: zigbee/ffe/sleep/heating_valve",
- "asctime": "2023-02-09 15:57:21,877",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Changing valve temperature setpoint to '%.1f'",
- "args": [
- 16.5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 33,
- "funcName": "__test_user_temperature_setpoint__",
- "created": 1675954642.179636,
- "msecs": 179.63600158691406,
- "relativeCreated": 28075.878381729126,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing valve temperature setpoint to '16.5'",
- "asctime": "2023-02-09 15:57:22,179",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954641.8776917,
- "msecs": 877.6917457580566,
- "relativeCreated": 27773.93412590027,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:21,877"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.8788078,
- "msecs": 878.807783126831,
- "relativeCreated": 27775.050163269043,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:21,878"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve/set",
- "b'{\"current_heating_setpoint\": 16.5}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.9015398,
- "msecs": 901.5398025512695,
- "relativeCreated": 27797.78218269348,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 16.5}'",
- "asctime": "2023-02-09 15:57:21,901"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/valve_temperature_setpoint",
- "b'16.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.9022973,
- "msecs": 902.2972583770752,
- "relativeCreated": 27798.539638519287,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'16.5'",
- "asctime": "2023-02-09 15:57:21,902"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.9030275,
- "msecs": 903.0275344848633,
- "relativeCreated": 27799.269914627075,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:21,903"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/user_temperature_setpoint",
- "b'16.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.9036381,
- "msecs": 903.6381244659424,
- "relativeCreated": 27799.880504608154,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'16.5'",
- "asctime": "2023-02-09 15:57:21,903"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.9042525,
- "msecs": 904.2525291442871,
- "relativeCreated": 27800.4949092865,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:21,904"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.9048266,
- "msecs": 904.8266410827637,
- "relativeCreated": 27801.069021224976,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:21,904"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954641.905498,
- "msecs": 905.4980278015137,
- "relativeCreated": 27801.740407943726,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:21,905"
- }
- ],
- "time_consumption": 0.2741379737854004
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
- "args": [
- "16.5",
- "<class 'float'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954642.1803436,
- "msecs": 180.3436279296875,
- "relativeCreated": 28076.5860080719,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device valve temperature is correct (Content 16.5 and Type is <class 'float'>).",
- "asctime": "2023-02-09 15:57:22,180",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "16.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954642.180056,
- "msecs": 180.05609512329102,
- "relativeCreated": 28076.298475265503,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device valve temperature): 16.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:22,180"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "=",
- "16.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954642.180228,
- "msecs": 180.22799491882324,
- "relativeCreated": 28076.470375061035,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device valve temperature): result = 16.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:22,180"
- }
- ],
- "time_consumption": 0.00011563301086425781
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
- "args": [
- "16.5",
- "<class 'float'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954642.1807125,
- "msecs": 180.71246147155762,
- "relativeCreated": 28076.95484161377,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device user temperature is correct (Content 16.5 and Type is <class 'float'>).",
- "asctime": "2023-02-09 15:57:22,180",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device user temperature",
- "16.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954642.1805208,
- "msecs": 180.52077293395996,
- "relativeCreated": 28076.763153076172,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device user temperature): 16.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:22,180"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device user temperature",
- "=",
- "16.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954642.1806216,
- "msecs": 180.62162399291992,
- "relativeCreated": 28076.864004135132,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device user temperature): result = 16.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:22,180"
- }
- ],
- "time_consumption": 9.083747863769531e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing videv user temperature setpoint to '%.1f'",
- "args": [
- 21.5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 41,
- "funcName": "__test_user_temperature_setpoint__",
- "created": 1675954642.4819274,
- "msecs": 481.92739486694336,
- "relativeCreated": 28378.169775009155,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing videv user temperature setpoint to '21.5'",
- "asctime": "2023-02-09 15:57:22,481",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/user_temperature_setpoint",
- "21.5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954642.1810315,
- "msecs": 181.0314655303955,
- "relativeCreated": 28077.273845672607,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload 21.5",
- "asctime": "2023-02-09 15:57:22,181"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/user_temperature_setpoint",
- "b'21.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.182189,
- "msecs": 182.1889877319336,
- "relativeCreated": 28078.431367874146,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5'",
- "asctime": "2023-02-09 15:57:22,182"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve/set",
- "b'{\"current_heating_setpoint\": 21.5}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.2017944,
- "msecs": 201.79438591003418,
- "relativeCreated": 28098.036766052246,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'",
- "asctime": "2023-02-09 15:57:22,201"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954642.2023385,
- "msecs": 202.33845710754395,
- "relativeCreated": 28098.580837249756,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:22,202"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/valve_temperature_setpoint",
- "b'21.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.202971,
- "msecs": 202.9709815979004,
- "relativeCreated": 28099.213361740112,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'",
- "asctime": "2023-02-09 15:57:22,202"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.2037337,
- "msecs": 203.7336826324463,
- "relativeCreated": 28099.97606277466,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:22,203"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/user_temperature_setpoint",
- "b'21.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.20434,
- "msecs": 204.33998107910156,
- "relativeCreated": 28100.582361221313,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5'",
- "asctime": "2023-02-09 15:57:22,204"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.20492,
- "msecs": 204.92005348205566,
- "relativeCreated": 28101.162433624268,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:22,204"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.2055416,
- "msecs": 205.54161071777344,
- "relativeCreated": 28101.783990859985,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:22,205"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.2538788,
- "msecs": 253.87883186340332,
- "relativeCreated": 28150.121212005615,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:22,253"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.2980204,
- "msecs": 298.0203628540039,
- "relativeCreated": 28194.262742996216,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:22,298"
- }
- ],
- "time_consumption": 0.18390703201293945
- },
- {
- "name": "__tLogger__",
- "msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954642.482613,
- "msecs": 482.61308670043945,
- "relativeCreated": 28378.85546684265,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Valve device temperature setpoint is correct (Content 21.5 and Type is <class 'float'>).",
- "asctime": "2023-02-09 15:57:22,482",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Valve device temperature setpoint",
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954642.4823334,
- "msecs": 482.3334217071533,
- "relativeCreated": 28378.575801849365,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Valve device temperature setpoint): 21.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:22,482"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Valve device temperature setpoint",
- "=",
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954642.4824705,
- "msecs": 482.4705123901367,
- "relativeCreated": 28378.71289253235,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Valve device temperature setpoint): result = 21.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:22,482"
- }
- ],
- "time_consumption": 0.00014257431030273438
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
- "args": [
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954642.4829803,
- "msecs": 482.98025131225586,
- "relativeCreated": 28379.222631454468,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device valve temperature is correct (Content 21.5 and Type is <class 'float'>).",
- "asctime": "2023-02-09 15:57:22,482",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954642.482788,
- "msecs": 482.7880859375,
- "relativeCreated": 28379.030466079712,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device valve temperature): 21.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:22,482"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "=",
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954642.4828906,
- "msecs": 482.8906059265137,
- "relativeCreated": 28379.132986068726,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device valve temperature): result = 21.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:22,482"
- }
- ],
- "time_consumption": 8.96453857421875e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing valve temperature setpoint to '%.1f'",
- "args": [
- 16.5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 33,
- "funcName": "__test_user_temperature_setpoint__",
- "created": 1675954642.7844112,
- "msecs": 784.4111919403076,
- "relativeCreated": 28680.65357208252,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing valve temperature setpoint to '16.5'",
- "asctime": "2023-02-09 15:57:22,784",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954642.4832866,
- "msecs": 483.28661918640137,
- "relativeCreated": 28379.528999328613,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:22,483"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.4843807,
- "msecs": 484.38072204589844,
- "relativeCreated": 28380.62310218811,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 16.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:22,484"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve/set",
- "b'{\"current_heating_setpoint\": 16.5}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.5041254,
- "msecs": 504.12535667419434,
- "relativeCreated": 28400.367736816406,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 16.5}'",
- "asctime": "2023-02-09 15:57:22,504"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/valve_temperature_setpoint",
- "b'16.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.5048413,
- "msecs": 504.8413276672363,
- "relativeCreated": 28401.08370780945,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'16.5'",
- "asctime": "2023-02-09 15:57:22,504"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.505512,
- "msecs": 505.511999130249,
- "relativeCreated": 28401.75437927246,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:22,505"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/user_temperature_setpoint",
- "b'16.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.5060935,
- "msecs": 506.09350204467773,
- "relativeCreated": 28402.33588218689,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'16.5'",
- "asctime": "2023-02-09 15:57:22,506"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.5067198,
- "msecs": 506.71982765197754,
- "relativeCreated": 28402.96220779419,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:22,506"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.5072892,
- "msecs": 507.28917121887207,
- "relativeCreated": 28403.531551361084,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:22,507"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.5079234,
- "msecs": 507.9233646392822,
- "relativeCreated": 28404.165744781494,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:22,507"
- }
- ],
- "time_consumption": 0.2764878273010254
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
- "args": [
- "16.5",
- "<class 'float'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954642.7851176,
- "msecs": 785.1176261901855,
- "relativeCreated": 28681.360006332397,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device valve temperature is correct (Content 16.5 and Type is <class 'float'>).",
- "asctime": "2023-02-09 15:57:22,785",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "16.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954642.7848313,
- "msecs": 784.8312854766846,
- "relativeCreated": 28681.073665618896,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device valve temperature): 16.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:22,784"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "=",
- "16.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954642.7849712,
- "msecs": 784.9712371826172,
- "relativeCreated": 28681.21361732483,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device valve temperature): result = 16.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:22,784"
- }
- ],
- "time_consumption": 0.00014638900756835938
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
- "args": [
- "16.5",
- "<class 'float'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954642.785497,
- "msecs": 785.4969501495361,
- "relativeCreated": 28681.739330291748,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device user temperature is correct (Content 16.5 and Type is <class 'float'>).",
- "asctime": "2023-02-09 15:57:22,785",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device user temperature",
- "16.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954642.7853026,
- "msecs": 785.3026390075684,
- "relativeCreated": 28681.54501914978,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device user temperature): 16.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:22,785"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device user temperature",
- "=",
- "16.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954642.7854056,
- "msecs": 785.4056358337402,
- "relativeCreated": 28681.648015975952,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device user temperature): result = 16.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:22,785"
- }
- ],
- "time_consumption": 9.131431579589844e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing videv user temperature setpoint to '%.1f'",
- "args": [
- 21.5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 41,
- "funcName": "__test_user_temperature_setpoint__",
- "created": 1675954643.086796,
- "msecs": 86.79604530334473,
- "relativeCreated": 28983.038425445557,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing videv user temperature setpoint to '21.5'",
- "asctime": "2023-02-09 15:57:23,086",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/user_temperature_setpoint",
- "21.5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954642.785801,
- "msecs": 785.8009338378906,
- "relativeCreated": 28682.043313980103,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload 21.5",
- "asctime": "2023-02-09 15:57:22,785"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/user_temperature_setpoint",
- "b'21.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.7869332,
- "msecs": 786.933183670044,
- "relativeCreated": 28683.175563812256,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5'",
- "asctime": "2023-02-09 15:57:22,786"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve/set",
- "b'{\"current_heating_setpoint\": 21.5}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.8065603,
- "msecs": 806.5602779388428,
- "relativeCreated": 28702.802658081055,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve/set and payload b'{\"current_heating_setpoint\": 21.5}'",
- "asctime": "2023-02-09 15:57:22,806"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954642.8071048,
- "msecs": 807.1048259735107,
- "relativeCreated": 28703.347206115723,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/heating_valve and payload {\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:22,807"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/valve_temperature_setpoint",
- "b'21.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.8077335,
- "msecs": 807.7335357666016,
- "relativeCreated": 28703.975915908813,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/valve_temperature_setpoint and payload b'21.5'",
- "asctime": "2023-02-09 15:57:22,807"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.808495,
- "msecs": 808.495044708252,
- "relativeCreated": 28704.737424850464,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:22,808"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/user_temperature_setpoint",
- "b'21.5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.8091257,
- "msecs": 809.1256618499756,
- "relativeCreated": 28705.368041992188,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/user_temperature_setpoint and payload b'21.5'",
- "asctime": "2023-02-09 15:57:22,809"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.8097467,
- "msecs": 809.7467422485352,
- "relativeCreated": 28705.989122390747,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:22,809"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/heating_valve",
- "b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.8103392,
- "msecs": 810.3392124176025,
- "relativeCreated": 28706.581592559814,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/heating_valve and payload b'{\"current_heating_setpoint\": 21.5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:22,810"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.8578227,
- "msecs": 857.8226566314697,
- "relativeCreated": 28754.06503677368,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:22,857"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954642.9019,
- "msecs": 901.900053024292,
- "relativeCreated": 28798.142433166504,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:22,901"
- }
- ],
- "time_consumption": 0.18489599227905273
- },
- {
- "name": "__tLogger__",
- "msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954643.0874717,
- "msecs": 87.47172355651855,
- "relativeCreated": 28983.71410369873,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Valve device temperature setpoint is correct (Content 21.5 and Type is <class 'float'>).",
- "asctime": "2023-02-09 15:57:23,087",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Valve device temperature setpoint",
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954643.0872185,
- "msecs": 87.2185230255127,
- "relativeCreated": 28983.460903167725,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Valve device temperature setpoint): 21.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:23,087"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Valve device temperature setpoint",
- "=",
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954643.0873597,
- "msecs": 87.35966682434082,
- "relativeCreated": 28983.602046966553,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Valve device temperature setpoint): result = 21.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:23,087"
- }
- ],
- "time_consumption": 0.00011205673217773438
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
- "args": [
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954643.0879169,
- "msecs": 87.91685104370117,
- "relativeCreated": 28984.159231185913,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device valve temperature is correct (Content 21.5 and Type is <class 'float'>).",
- "asctime": "2023-02-09 15:57:23,087",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954643.087647,
- "msecs": 87.6469612121582,
- "relativeCreated": 28983.88934135437,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device valve temperature): 21.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:23,087"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "=",
- "21.5",
- "<class 'float'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954643.0878074,
- "msecs": 87.80741691589355,
- "relativeCreated": 28984.049797058105,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device valve temperature): result = 21.5 (<class 'float'>)",
- "asctime": "2023-02-09 15:57:23,087"
- }
- ],
- "time_consumption": 0.00010943412780761719
- }
- ],
- "time_consumption": 1.2106008529663086,
- "time_start": "2023-02-09 15:57:21,877",
- "time_finished": "2023-02-09 15:57:23,087"
- },
- "Brightness test for device and virtual device: zigbee/ffe/sleep/main_light": {
- "name": "__tLogger__",
- "msg": "Brightness test for device and virtual device: zigbee/ffe/sleep/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 50,
- "funcName": "test_brightness",
- "created": 1675954643.088407,
- "msecs": 88.40703964233398,
- "relativeCreated": 28984.649419784546,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Brightness test for device and virtual device: zigbee/ffe/sleep/main_light",
- "asctime": "2023-02-09 15:57:23,088",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 57,
- "funcName": "__test_brightness__",
- "created": 1675954643.3912075,
- "msecs": 391.2074565887451,
- "relativeCreated": 29287.449836730957,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:57:23,391",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954643.0887024,
- "msecs": 88.70244026184082,
- "relativeCreated": 28984.944820404053,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:23,088"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954643.0893428,
- "msecs": 89.34283256530762,
- "relativeCreated": 28985.58521270752,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:23,089"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954643.090346,
- "msecs": 90.34609794616699,
- "relativeCreated": 28986.58847808838,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:23,090"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954643.0910218,
- "msecs": 91.02177619934082,
- "relativeCreated": 28987.264156341553,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:23,091"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954643.1417694,
- "msecs": 141.7694091796875,
- "relativeCreated": 29038.0117893219,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:23,141"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954643.1424642,
- "msecs": 142.46416091918945,
- "relativeCreated": 29038.7065410614,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:23,142"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954643.1430194,
- "msecs": 143.019437789917,
- "relativeCreated": 29039.26181793213,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:23,143"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954643.1437879,
- "msecs": 143.78786087036133,
- "relativeCreated": 29040.030241012573,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:23,143"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954643.1443968,
- "msecs": 144.39678192138672,
- "relativeCreated": 29040.6391620636,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:23,144"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954643.1449904,
- "msecs": 144.9904441833496,
- "relativeCreated": 29041.23282432556,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:23,144"
- }
- ],
- "time_consumption": 0.2462170124053955
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954643.39185,
- "msecs": 391.8499946594238,
- "relativeCreated": 29288.092374801636,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:23,391",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954643.3916066,
- "msecs": 391.60656929016113,
- "relativeCreated": 29287.848949432373,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:23,391"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954643.391743,
- "msecs": 391.7429447174072,
- "relativeCreated": 29287.98532485962,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:23,391"
- }
- ],
- "time_consumption": 0.00010704994201660156
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954643.694754,
- "msecs": 694.753885269165,
- "relativeCreated": 29590.996265411377,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:23,694",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954643.3922431,
- "msecs": 392.2431468963623,
- "relativeCreated": 29288.485527038574,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:23,392"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954643.3938694,
- "msecs": 393.86940002441406,
- "relativeCreated": 29290.111780166626,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:23,393"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954643.396356,
- "msecs": 396.35610580444336,
- "relativeCreated": 29292.598485946655,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:23,396"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954643.3970351,
- "msecs": 397.0351219177246,
- "relativeCreated": 29293.277502059937,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:23,397"
- }
- ],
- "time_consumption": 0.29771876335144043
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954643.695426,
- "msecs": 695.4259872436523,
- "relativeCreated": 29591.668367385864,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:23,695",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954643.6951575,
- "msecs": 695.157527923584,
- "relativeCreated": 29591.399908065796,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:23,695"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954643.6952906,
- "msecs": 695.2905654907227,
- "relativeCreated": 29591.532945632935,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:23,695"
- }
- ],
- "time_consumption": 0.0001354217529296875
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954643.6957917,
- "msecs": 695.7917213439941,
- "relativeCreated": 29592.034101486206,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:23,695",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954643.6956024,
- "msecs": 695.6024169921875,
- "relativeCreated": 29591.8447971344,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:23,695"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954643.695701,
- "msecs": 695.7008838653564,
- "relativeCreated": 29591.94326400757,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:23,695"
- }
- ],
- "time_consumption": 9.083747863769531e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954643.9980147,
- "msecs": 998.0146884918213,
- "relativeCreated": 29894.257068634033,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:23,998",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954643.69608,
- "msecs": 696.0799694061279,
- "relativeCreated": 29592.32234954834,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/main_light/brightness and payload 50",
- "asctime": "2023-02-09 15:57:23,696"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954643.697213,
- "msecs": 697.2129344940186,
- "relativeCreated": 29593.45531463623,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:23,697"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954643.69897,
- "msecs": 698.9700794219971,
- "relativeCreated": 29595.21245956421,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/main_light/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:23,698"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954643.6994684,
- "msecs": 699.4683742523193,
- "relativeCreated": 29595.71075439453,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:23,699"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954643.7004666,
- "msecs": 700.4666328430176,
- "relativeCreated": 29596.70901298523,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:23,700"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954643.745447,
- "msecs": 745.4469203948975,
- "relativeCreated": 29641.68930053711,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:23,745"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954643.746175,
- "msecs": 746.1750507354736,
- "relativeCreated": 29642.417430877686,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:23,746"
- }
- ],
- "time_consumption": 0.25183963775634766
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954643.9986663,
- "msecs": 998.6662864685059,
- "relativeCreated": 29894.908666610718,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:23,998",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954643.9984224,
- "msecs": 998.422384262085,
- "relativeCreated": 29894.664764404297,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:23,998"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954643.9985578,
- "msecs": 998.5578060150146,
- "relativeCreated": 29894.800186157227,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:23,998"
- }
- ],
- "time_consumption": 0.00010848045349121094
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954643.9990242,
- "msecs": 999.0241527557373,
- "relativeCreated": 29895.26653289795,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:23,999",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954643.9988391,
- "msecs": 998.8391399383545,
- "relativeCreated": 29895.081520080566,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:23,998"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954643.998937,
- "msecs": 998.9368915557861,
- "relativeCreated": 29895.179271697998,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:23,998"
- }
- ],
- "time_consumption": 8.726119995117188e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954644.3013406,
- "msecs": 301.34057998657227,
- "relativeCreated": 30197.582960128784,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:24,301",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954643.9993582,
- "msecs": 999.3581771850586,
- "relativeCreated": 29895.60055732727,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:23,999"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954644.000472,
- "msecs": 0.47206878662109375,
- "relativeCreated": 29896.714448928833,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:24,000"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954644.0030072,
- "msecs": 3.007173538208008,
- "relativeCreated": 29899.24955368042,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:24,003"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954644.0036829,
- "msecs": 3.682851791381836,
- "relativeCreated": 29899.925231933594,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:24,003"
- }
- ],
- "time_consumption": 0.29765772819519043
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954644.3020282,
- "msecs": 302.0281791687012,
- "relativeCreated": 30198.270559310913,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:24,302",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954644.3017445,
- "msecs": 301.7444610595703,
- "relativeCreated": 30197.986841201782,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:24,301"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954644.301915,
- "msecs": 301.91493034362793,
- "relativeCreated": 30198.15731048584,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:24,301"
- }
- ],
- "time_consumption": 0.00011324882507324219
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954644.3023975,
- "msecs": 302.3974895477295,
- "relativeCreated": 30198.63986968994,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:24,302",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954644.3022048,
- "msecs": 302.20484733581543,
- "relativeCreated": 30198.447227478027,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:24,302"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954644.302305,
- "msecs": 302.3049831390381,
- "relativeCreated": 30198.54736328125,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:24,302"
- }
- ],
- "time_consumption": 9.250640869140625e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954644.6037107,
- "msecs": 603.7106513977051,
- "relativeCreated": 30499.953031539917,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:24,603",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954644.3026876,
- "msecs": 302.6876449584961,
- "relativeCreated": 30198.930025100708,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/main_light/brightness and payload 50",
- "asctime": "2023-02-09 15:57:24,302"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954644.3038113,
- "msecs": 303.81131172180176,
- "relativeCreated": 30200.053691864014,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:24,303"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954644.3055112,
- "msecs": 305.5112361907959,
- "relativeCreated": 30201.753616333008,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/main_light/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:24,305"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954644.306015,
- "msecs": 306.0150146484375,
- "relativeCreated": 30202.25739479065,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:24,306"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954644.3069782,
- "msecs": 306.9782257080078,
- "relativeCreated": 30203.22060585022,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:24,306"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954644.3521504,
- "msecs": 352.15044021606445,
- "relativeCreated": 30248.392820358276,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:24,352"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954644.3531284,
- "msecs": 353.12843322753906,
- "relativeCreated": 30249.37081336975,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:24,353"
- }
- ],
- "time_consumption": 0.250582218170166
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954644.6043158,
- "msecs": 604.3157577514648,
- "relativeCreated": 30500.558137893677,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:24,604",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954644.6040962,
- "msecs": 604.0961742401123,
- "relativeCreated": 30500.338554382324,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:24,604"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954644.6042185,
- "msecs": 604.2184829711914,
- "relativeCreated": 30500.460863113403,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:24,604"
- }
- ],
- "time_consumption": 9.72747802734375e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 74,
- "funcName": "__test_brightness__",
- "created": 1675954644.9061313,
- "msecs": 906.1312675476074,
- "relativeCreated": 30802.37364768982,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:57:24,906",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954644.6045375,
- "msecs": 604.5374870300293,
- "relativeCreated": 30500.77986717224,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:24,604"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954644.6056042,
- "msecs": 605.6041717529297,
- "relativeCreated": 30501.84655189514,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:24,605"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954644.6088378,
- "msecs": 608.8378429412842,
- "relativeCreated": 30505.080223083496,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:24,608"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954644.6094825,
- "msecs": 609.4825267791748,
- "relativeCreated": 30505.724906921387,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:24,609"
- }
- ],
- "time_consumption": 0.2966487407684326
- }
- ],
- "time_consumption": 1.8177242279052734,
- "time_start": "2023-02-09 15:57:23,088",
- "time_finished": "2023-02-09 15:57:24,906"
- },
- "Color temperature test for device and virtual device: zigbee/ffe/sleep/main_light": {
- "name": "__tLogger__",
- "msg": "Color temperature test for device and virtual device: zigbee/ffe/sleep/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 81,
- "funcName": "test_color_temp",
- "created": 1675954644.9068637,
- "msecs": 906.8636894226074,
- "relativeCreated": 30803.10606956482,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Color temperature test for device and virtual device: zigbee/ffe/sleep/main_light",
- "asctime": "2023-02-09 15:57:24,906",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 88,
- "funcName": "__test_color_temp__",
- "created": 1675954645.208915,
- "msecs": 208.91499519348145,
- "relativeCreated": 31105.157375335693,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:57:25,208",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954644.9071975,
- "msecs": 907.1974754333496,
- "relativeCreated": 30803.43985557556,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:24,907"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954644.9077904,
- "msecs": 907.7904224395752,
- "relativeCreated": 30804.032802581787,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:24,907"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954644.9088392,
- "msecs": 908.839225769043,
- "relativeCreated": 30805.081605911255,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:24,908"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954644.9096448,
- "msecs": 909.6448421478271,
- "relativeCreated": 30805.88722229004,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:24,909"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954644.9578037,
- "msecs": 957.8037261962891,
- "relativeCreated": 30854.0461063385,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:24,957"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954644.9585385,
- "msecs": 958.5385322570801,
- "relativeCreated": 30854.780912399292,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:24,958"
- }
- ],
- "time_consumption": 0.25037646293640137
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954645.2095876,
- "msecs": 209.58757400512695,
- "relativeCreated": 31105.82995414734,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:25,209",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954645.209343,
- "msecs": 209.34295654296875,
- "relativeCreated": 31105.58533668518,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:25,209"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954645.2094796,
- "msecs": 209.47957038879395,
- "relativeCreated": 31105.721950531006,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:25,209"
- }
- ],
- "time_consumption": 0.00010800361633300781
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 94,
- "funcName": "__test_color_temp__",
- "created": 1675954645.5109456,
- "msecs": 510.94555854797363,
- "relativeCreated": 31407.187938690186,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device color temperature to '5'",
- "asctime": "2023-02-09 15:57:25,510",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954645.2099476,
- "msecs": 209.9475860595703,
- "relativeCreated": 31106.189966201782,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:25,209"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954645.211018,
- "msecs": 211.01808547973633,
- "relativeCreated": 31107.26046562195,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:25,211"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/color_temp",
- "b'8.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954645.2135472,
- "msecs": 213.5472297668457,
- "relativeCreated": 31109.789609909058,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'8.0'",
- "asctime": "2023-02-09 15:57:25,213"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954645.2142274,
- "msecs": 214.22743797302246,
- "relativeCreated": 31110.469818115234,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:25,214"
- }
- ],
- "time_consumption": 0.29671812057495117
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954645.5115914,
- "msecs": 511.59143447875977,
- "relativeCreated": 31407.83381462097,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:25,511",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954645.511349,
- "msecs": 511.3489627838135,
- "relativeCreated": 31407.591342926025,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:25,511"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954645.5114806,
- "msecs": 511.48056983947754,
- "relativeCreated": 31407.72294998169,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:25,511"
- }
- ],
- "time_consumption": 0.00011086463928222656
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954645.5119948,
- "msecs": 511.9948387145996,
- "relativeCreated": 31408.23721885681,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:25,511",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954645.5118046,
- "msecs": 511.80458068847656,
- "relativeCreated": 31408.04696083069,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:25,511"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954645.5119042,
- "msecs": 511.904239654541,
- "relativeCreated": 31408.146619796753,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:25,511"
- }
- ],
- "time_consumption": 9.059906005859375e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 100,
- "funcName": "__test_color_temp__",
- "created": 1675954645.8142292,
- "msecs": 814.2292499542236,
- "relativeCreated": 31710.471630096436,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device color temperature to '5'",
- "asctime": "2023-02-09 15:57:25,814",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954645.512283,
- "msecs": 512.2830867767334,
- "relativeCreated": 31408.525466918945,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/main_light/color_temp and payload 5",
- "asctime": "2023-02-09 15:57:25,512"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954645.5133705,
- "msecs": 513.3705139160156,
- "relativeCreated": 31409.612894058228,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:57:25,513"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954645.5151036,
- "msecs": 515.1035785675049,
- "relativeCreated": 31411.345958709717,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/main_light/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:25,515"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954645.5156436,
- "msecs": 515.6435966491699,
- "relativeCreated": 31411.885976791382,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:25,515"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954645.516592,
- "msecs": 516.5920257568359,
- "relativeCreated": 31412.834405899048,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:25,516"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954645.5614796,
- "msecs": 561.4795684814453,
- "relativeCreated": 31457.721948623657,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:25,561"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954645.5622358,
- "msecs": 562.2358322143555,
- "relativeCreated": 31458.478212356567,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:25,562"
- }
- ],
- "time_consumption": 0.25199341773986816
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954645.8149095,
- "msecs": 814.9094581604004,
- "relativeCreated": 31711.151838302612,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:25,814",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954645.814664,
- "msecs": 814.6638870239258,
- "relativeCreated": 31710.906267166138,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:25,814"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954645.8148015,
- "msecs": 814.8014545440674,
- "relativeCreated": 31711.04383468628,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:25,814"
- }
- ],
- "time_consumption": 0.00010800361633300781
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954645.8152704,
- "msecs": 815.2704238891602,
- "relativeCreated": 31711.512804031372,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:25,815",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954645.8150814,
- "msecs": 815.0813579559326,
- "relativeCreated": 31711.323738098145,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:25,815"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954645.8151824,
- "msecs": 815.1824474334717,
- "relativeCreated": 31711.424827575684,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:25,815"
- }
- ],
- "time_consumption": 8.797645568847656e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 94,
- "funcName": "__test_color_temp__",
- "created": 1675954646.1166024,
- "msecs": 116.60242080688477,
- "relativeCreated": 32012.844800949097,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device color temperature to '5'",
- "asctime": "2023-02-09 15:57:26,116",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954645.8156366,
- "msecs": 815.6366348266602,
- "relativeCreated": 31711.879014968872,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:25,815"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954645.8167238,
- "msecs": 816.7238235473633,
- "relativeCreated": 31712.966203689575,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:25,816"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/color_temp",
- "b'8.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954645.8193116,
- "msecs": 819.3116188049316,
- "relativeCreated": 31715.553998947144,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'8.0'",
- "asctime": "2023-02-09 15:57:25,819"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954645.8199925,
- "msecs": 819.9925422668457,
- "relativeCreated": 31716.234922409058,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:25,819"
- }
- ],
- "time_consumption": 0.29660987854003906
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954646.1169121,
- "msecs": 116.9121265411377,
- "relativeCreated": 32013.15450668335,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:26,116",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954646.1168158,
- "msecs": 116.81580543518066,
- "relativeCreated": 32013.058185577393,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:26,116"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954646.1168709,
- "msecs": 116.87088012695312,
- "relativeCreated": 32013.113260269165,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:26,116"
- }
- ],
- "time_consumption": 4.124641418457031e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954646.1170669,
- "msecs": 117.06686019897461,
- "relativeCreated": 32013.309240341187,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:26,117",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954646.1169794,
- "msecs": 116.97936058044434,
- "relativeCreated": 32013.221740722656,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:26,116"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954646.1170166,
- "msecs": 117.01655387878418,
- "relativeCreated": 32013.258934020996,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:26,117"
- }
- ],
- "time_consumption": 5.030632019042969e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 100,
- "funcName": "__test_color_temp__",
- "created": 1675954646.4189281,
- "msecs": 418.9281463623047,
- "relativeCreated": 32315.170526504517,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device color temperature to '5'",
- "asctime": "2023-02-09 15:57:26,418",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954646.117199,
- "msecs": 117.19894409179688,
- "relativeCreated": 32013.44132423401,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/main_light/color_temp and payload 5",
- "asctime": "2023-02-09 15:57:26,117"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954646.1177537,
- "msecs": 117.75374412536621,
- "relativeCreated": 32013.996124267578,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:57:26,117"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954646.118494,
- "msecs": 118.49403381347656,
- "relativeCreated": 32014.73641395569,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/main_light/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:26,118"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954646.1187031,
- "msecs": 118.70312690734863,
- "relativeCreated": 32014.94550704956,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:26,118"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954646.119097,
- "msecs": 119.09699440002441,
- "relativeCreated": 32015.339374542236,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:26,119"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954646.1631057,
- "msecs": 163.10572624206543,
- "relativeCreated": 32059.348106384277,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:26,163"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954646.1634955,
- "msecs": 163.49554061889648,
- "relativeCreated": 32059.73792076111,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:26,163"
- }
- ],
- "time_consumption": 0.2554326057434082
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954646.4195085,
- "msecs": 419.5084571838379,
- "relativeCreated": 32315.75083732605,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:26,419",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954646.4192944,
- "msecs": 419.2943572998047,
- "relativeCreated": 32315.536737442017,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:26,419"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954646.419413,
- "msecs": 419.41308975219727,
- "relativeCreated": 32315.65546989441,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:26,419"
- }
- ],
- "time_consumption": 9.5367431640625e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 105,
- "funcName": "__test_color_temp__",
- "created": 1675954646.7216809,
- "msecs": 721.6808795928955,
- "relativeCreated": 32617.923259735107,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:57:26,721",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954646.41976,
- "msecs": 419.75998878479004,
- "relativeCreated": 32316.002368927002,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:26,419"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954646.4207852,
- "msecs": 420.78518867492676,
- "relativeCreated": 32317.02756881714,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:26,420"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954646.424025,
- "msecs": 424.0250587463379,
- "relativeCreated": 32320.26743888855,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:26,424"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954646.4246123,
- "msecs": 424.61228370666504,
- "relativeCreated": 32320.854663848877,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:26,424"
- }
- ],
- "time_consumption": 0.29706859588623047
- }
- ],
- "time_consumption": 1.814817190170288,
- "time_start": "2023-02-09 15:57:24,906",
- "time_finished": "2023-02-09 15:57:26,721"
- },
- "Power On/ Off test for device and virtual device: shellies/ffe/sleep/main_light": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: shellies/ffe/sleep/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954646.7223394,
- "msecs": 722.339391708374,
- "relativeCreated": 32618.581771850586,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: shellies/ffe/sleep/main_light",
- "asctime": "2023-02-09 15:57:26,722",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954646.7227738,
- "msecs": 722.7737903594971,
- "relativeCreated": 32619.01617050171,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:26,722",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954646.7225652,
- "msecs": 722.5651741027832,
- "relativeCreated": 32618.807554244995,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:26,722"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954646.7226796,
- "msecs": 722.679615020752,
- "relativeCreated": 32618.921995162964,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:26,722"
- }
- ],
- "time_consumption": 9.417533874511719e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954647.0253177,
- "msecs": 25.317668914794922,
- "relativeCreated": 32921.56004905701,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:27,025",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954646.7229834,
- "msecs": 722.9833602905273,
- "relativeCreated": 32619.22574043274,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:26,722"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954646.723503,
- "msecs": 723.5031127929688,
- "relativeCreated": 32619.74549293518,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:26,723"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954646.7243721,
- "msecs": 724.372148513794,
- "relativeCreated": 32620.614528656006,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:26,724"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954646.7249806,
- "msecs": 724.9805927276611,
- "relativeCreated": 32621.222972869873,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:26,724"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954646.7697663,
- "msecs": 769.7663307189941,
- "relativeCreated": 32666.008710861206,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:26,769"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954646.7704403,
- "msecs": 770.4403400421143,
- "relativeCreated": 32666.682720184326,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:26,770"
- }
- ],
- "time_consumption": 0.25487732887268066
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954647.0258963,
- "msecs": 25.896310806274414,
- "relativeCreated": 32922.138690948486,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:27,025",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954647.025683,
- "msecs": 25.682926177978516,
- "relativeCreated": 32921.92530632019,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:27,025"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954647.0258007,
- "msecs": 25.800704956054688,
- "relativeCreated": 32922.04308509827,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:27,025"
- }
- ],
- "time_consumption": 9.560585021972656e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954647.0262525,
- "msecs": 26.25250816345215,
- "relativeCreated": 32922.494888305664,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:27,026",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954647.0260499,
- "msecs": 26.04985237121582,
- "relativeCreated": 32922.29223251343,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:27,026"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954647.0261369,
- "msecs": 26.13687515258789,
- "relativeCreated": 32922.3792552948,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:27,026"
- }
- ],
- "time_consumption": 0.00011563301086425781
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954647.3283932,
- "msecs": 328.39322090148926,
- "relativeCreated": 33224.6356010437,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:27,328",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954647.026503,
- "msecs": 26.50308609008789,
- "relativeCreated": 32922.7454662323,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/main_light/state and payload false",
- "asctime": "2023-02-09 15:57:27,026"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.027484,
- "msecs": 27.48394012451172,
- "relativeCreated": 32923.72632026672,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:27,027"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.0289629,
- "msecs": 28.96285057067871,
- "relativeCreated": 32925.20523071289,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:57:27,028"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954647.0294044,
- "msecs": 29.404401779174805,
- "relativeCreated": 32925.64678192139,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:27,029"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.0303116,
- "msecs": 30.31158447265625,
- "relativeCreated": 32926.55396461487,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:27,030"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.1139574,
- "msecs": 113.95740509033203,
- "relativeCreated": 33010.199785232544,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:27,113"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.114606,
- "msecs": 114.60590362548828,
- "relativeCreated": 33010.8482837677,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:27,114"
- }
- ],
- "time_consumption": 0.21378731727600098
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954647.3289728,
- "msecs": 328.97281646728516,
- "relativeCreated": 33225.2151966095,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:27,328",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954647.3287575,
- "msecs": 328.75752449035645,
- "relativeCreated": 33224.99990463257,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:27,328"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954647.3288782,
- "msecs": 328.87816429138184,
- "relativeCreated": 33225.120544433594,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:27,328"
- }
- ],
- "time_consumption": 9.465217590332031e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954647.3293383,
- "msecs": 329.33831214904785,
- "relativeCreated": 33225.58069229126,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:27,329",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954647.3291664,
- "msecs": 329.1664123535156,
- "relativeCreated": 33225.40879249573,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:27,329"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954647.3292582,
- "msecs": 329.2582035064697,
- "relativeCreated": 33225.50058364868,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:27,329"
- }
- ],
- "time_consumption": 8.0108642578125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954647.6319342,
- "msecs": 631.9341659545898,
- "relativeCreated": 33528.1765460968,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:27,631",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954647.3295472,
- "msecs": 329.5471668243408,
- "relativeCreated": 33225.78954696655,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:27,329"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954647.3300807,
- "msecs": 330.0807476043701,
- "relativeCreated": 33226.32312774658,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffe/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:27,330"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.3309064,
- "msecs": 330.9063911437988,
- "relativeCreated": 33227.14877128601,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:27,330"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffe.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffe/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.3314943,
- "msecs": 331.4943313598633,
- "relativeCreated": 33227.736711502075,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffe/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:27,331"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.3789184,
- "msecs": 378.9184093475342,
- "relativeCreated": 33275.160789489746,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:27,378"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.3796496,
- "msecs": 379.6496391296387,
- "relativeCreated": 33275.89201927185,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:27,379"
- }
- ],
- "time_consumption": 0.25228452682495117
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954647.6325836,
- "msecs": 632.5836181640625,
- "relativeCreated": 33528.825998306274,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:27,632",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954647.632339,
- "msecs": 632.3390007019043,
- "relativeCreated": 33528.581380844116,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:27,632"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954647.6324756,
- "msecs": 632.4756145477295,
- "relativeCreated": 33528.71799468994,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:27,632"
- }
- ],
- "time_consumption": 0.00010800361633300781
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954647.6329749,
- "msecs": 632.9748630523682,
- "relativeCreated": 33529.21724319458,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:27,632",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954647.6327553,
- "msecs": 632.7552795410156,
- "relativeCreated": 33528.99765968323,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:27,632"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954647.6328573,
- "msecs": 632.8573226928711,
- "relativeCreated": 33529.09970283508,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:27,632"
- }
- ],
- "time_consumption": 0.00011754035949707031
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954647.934178,
- "msecs": 934.1781139373779,
- "relativeCreated": 33830.42049407959,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:27,934",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954647.6333082,
- "msecs": 633.3081722259521,
- "relativeCreated": 33529.550552368164,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffe/sleep/main_light/state and payload false",
- "asctime": "2023-02-09 15:57:27,633"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.6343858,
- "msecs": 634.3858242034912,
- "relativeCreated": 33530.6282043457,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:27,634"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.635985,
- "msecs": 635.9848976135254,
- "relativeCreated": 33532.22727775574,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:57:27,635"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954647.6364462,
- "msecs": 636.4462375640869,
- "relativeCreated": 33532.6886177063,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffe/sleep/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:27,636"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffe.sleep.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffe/sleep/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.6374688,
- "msecs": 637.4688148498535,
- "relativeCreated": 33533.711194992065,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffe/sleep/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:27,637"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.7257798,
- "msecs": 725.7797718048096,
- "relativeCreated": 33622.02215194702,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:27,725"
- },
- {
- "name": "smart_brain.mqtt.videv.ffe.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffe/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.726474,
- "msecs": 726.4740467071533,
- "relativeCreated": 33622.716426849365,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffe/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:27,726"
- }
- ],
- "time_consumption": 0.2077040672302246
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954647.9348342,
- "msecs": 934.8342418670654,
- "relativeCreated": 33831.07662200928,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:27,934",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954647.9345877,
- "msecs": 934.5877170562744,
- "relativeCreated": 33830.830097198486,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:27,934"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954647.9347255,
- "msecs": 934.7255229949951,
- "relativeCreated": 33830.96790313721,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:27,934"
- }
- ],
- "time_consumption": 0.0001087188720703125
- }
- ],
- "time_consumption": 1.2124948501586914,
- "time_start": "2023-02-09 15:57:26,722",
- "time_finished": "2023-02-09 15:57:27,934"
- },
- "Away mode test: zigbee/ffw/bath/heating_valve": {
- "name": "__tLogger__",
- "msg": "Away mode test: zigbee/ffw/bath/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 101,
- "funcName": "test_away_mode",
- "created": 1675954647.9353635,
- "msecs": 935.3635311126709,
- "relativeCreated": 33831.60591125488,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Away mode test: zigbee/ffw/bath/heating_valve",
- "asctime": "2023-02-09 15:57:27,935",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Default setpoint)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 106,
- "funcName": "__test_away_mode__",
- "created": 1675954648.2376442,
- "msecs": 237.64419555664062,
- "relativeCreated": 34133.88657569885,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Default setpoint)",
- "asctime": "2023-02-09 15:57:28,237",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954647.9357123,
- "msecs": 935.7123374938965,
- "relativeCreated": 33831.95471763611,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:57:27,935"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.9368057,
- "msecs": 936.8057250976562,
- "relativeCreated": 33833.04810523987,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:57:27,936"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/user_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.9538946,
- "msecs": 953.8946151733398,
- "relativeCreated": 33850.13699531555,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:57:27,953"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.9542446,
- "msecs": 954.2446136474609,
- "relativeCreated": 33850.48699378967,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:27,954"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve/set",
- "b'{\"current_heating_setpoint\": 23}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.9545193,
- "msecs": 954.5192718505859,
- "relativeCreated": 33850.7616519928,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
- "asctime": "2023-02-09 15:57:27,954"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954647.9546993,
- "msecs": 954.6992778778076,
- "relativeCreated": 33850.94165802002,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:27,954"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/valve_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.9552467,
- "msecs": 955.2466869354248,
- "relativeCreated": 33851.48906707764,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:57:27,955"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.9555569,
- "msecs": 955.5568695068359,
- "relativeCreated": 33851.79924964905,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:27,955"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954647.9557903,
- "msecs": 955.7902812957764,
- "relativeCreated": 33852.03266143799,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:27,955"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.0045984,
- "msecs": 4.598379135131836,
- "relativeCreated": 33900.840759277344,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:28,004"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.0461576,
- "msecs": 46.1575984954834,
- "relativeCreated": 33942.399978637695,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:28,046"
- }
- ],
- "time_consumption": 0.19148659706115723
- },
- {
- "name": "__tLogger__",
- "msg": "Away mode is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954648.2383237,
- "msecs": 238.32368850708008,
- "relativeCreated": 34134.56606864929,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Away mode is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:28,238",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Away mode",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954648.2380395,
- "msecs": 238.03949356079102,
- "relativeCreated": 34134.281873703,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Away mode): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:28,238"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Away mode",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954648.2381752,
- "msecs": 238.1751537322998,
- "relativeCreated": 34134.41753387451,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Away mode): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:28,238"
- }
- ],
- "time_consumption": 0.00014853477478027344
- },
- {
- "name": "__tLogger__",
- "msg": "Activating away mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 113,
- "funcName": "__test_away_mode__",
- "created": 1675954648.5405786,
- "msecs": 540.5786037445068,
- "relativeCreated": 34436.82098388672,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Activating away mode",
- "asctime": "2023-02-09 15:57:28,540",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.away_mode",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/away_mode",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954648.238664,
- "msecs": 238.663911819458,
- "relativeCreated": 34134.90629196167,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/bath/heating_valve/away_mode and payload true",
- "asctime": "2023-02-09 15:57:28,238"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.away_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/away_mode",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.239775,
- "msecs": 239.7749423980713,
- "relativeCreated": 34136.01732254028,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/away_mode and payload b'true'",
- "asctime": "2023-02-09 15:57:28,239"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve/set",
- "b'{\"current_heating_setpoint\": 18}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.2557106,
- "msecs": 255.71060180664062,
- "relativeCreated": 34151.95298194885,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'",
- "asctime": "2023-02-09 15:57:28,255"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954648.2561686,
- "msecs": 256.1686038970947,
- "relativeCreated": 34152.41098403931,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:28,256"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/valve_temperature_setpoint",
- "b'18'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.2567182,
- "msecs": 256.7181587219238,
- "relativeCreated": 34152.960538864136,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'18'",
- "asctime": "2023-02-09 15:57:28,256"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.2574325,
- "msecs": 257.4324607849121,
- "relativeCreated": 34153.674840927124,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:28,257"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.away_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/away_mode",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.2579536,
- "msecs": 257.9536437988281,
- "relativeCreated": 34154.19602394104,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/away_mode and payload b'true'",
- "asctime": "2023-02-09 15:57:28,257"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.2584615,
- "msecs": 258.46147537231445,
- "relativeCreated": 34154.70385551453,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:28,258"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.2589648,
- "msecs": 258.96477699279785,
- "relativeCreated": 34155.20715713501,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:28,258"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.3020513,
- "msecs": 302.051305770874,
- "relativeCreated": 34198.293685913086,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:28,302"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.3459764,
- "msecs": 345.9763526916504,
- "relativeCreated": 34242.21873283386,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:28,345"
- }
- ],
- "time_consumption": 0.19460225105285645
- },
- {
- "name": "__tLogger__",
- "msg": "Away mode is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954648.5411928,
- "msecs": 541.1927700042725,
- "relativeCreated": 34437.435150146484,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Away mode is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:28,541",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Away mode",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954648.5409288,
- "msecs": 540.928840637207,
- "relativeCreated": 34437.17122077942,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Away mode): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:28,540"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Away mode",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954648.541089,
- "msecs": 541.0890579223633,
- "relativeCreated": 34437.331438064575,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Away mode): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:28,541"
- }
- ],
- "time_consumption": 0.00010371208190917969
- },
- {
- "name": "__tLogger__",
- "msg": "Temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "18",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954648.5415215,
- "msecs": 541.5215492248535,
- "relativeCreated": 34437.763929367065,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Temperature setpoint is correct (Content 18 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:28,541",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Temperature setpoint",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954648.5413496,
- "msecs": 541.3496494293213,
- "relativeCreated": 34437.59202957153,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Temperature setpoint): 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:28,541"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Temperature setpoint",
- "=",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954648.54144,
- "msecs": 541.4400100708008,
- "relativeCreated": 34437.68239021301,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Temperature setpoint): result = 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:28,541"
- }
- ],
- "time_consumption": 8.153915405273438e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Deactivating away mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 119,
- "funcName": "__test_away_mode__",
- "created": 1675954648.8436937,
- "msecs": 843.693733215332,
- "relativeCreated": 34739.936113357544,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Deactivating away mode",
- "asctime": "2023-02-09 15:57:28,843",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.away_mode",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/away_mode",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954648.54181,
- "msecs": 541.8100357055664,
- "relativeCreated": 34438.05241584778,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/bath/heating_valve/away_mode and payload false",
- "asctime": "2023-02-09 15:57:28,541"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.away_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/away_mode",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.542807,
- "msecs": 542.8071022033691,
- "relativeCreated": 34439.04948234558,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/away_mode and payload b'false'",
- "asctime": "2023-02-09 15:57:28,542"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve/set",
- "b'{\"current_heating_setpoint\": 23}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.5538158,
- "msecs": 553.8158416748047,
- "relativeCreated": 34450.05822181702,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
- "asctime": "2023-02-09 15:57:28,553"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954648.5542014,
- "msecs": 554.2013645172119,
- "relativeCreated": 34450.443744659424,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:28,554"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/valve_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.5547323,
- "msecs": 554.7323226928711,
- "relativeCreated": 34450.97470283508,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:57:28,554"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.5554142,
- "msecs": 555.4141998291016,
- "relativeCreated": 34451.65657997131,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:28,555"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.away_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/away_mode",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.5559297,
- "msecs": 555.9296607971191,
- "relativeCreated": 34452.17204093933,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/away_mode and payload b'false'",
- "asctime": "2023-02-09 15:57:28,555"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.5564291,
- "msecs": 556.4291477203369,
- "relativeCreated": 34452.67152786255,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:28,556"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.5569353,
- "msecs": 556.9353103637695,
- "relativeCreated": 34453.17769050598,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:28,556"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.6053102,
- "msecs": 605.3102016448975,
- "relativeCreated": 34501.55258178711,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:28,605"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.6469622,
- "msecs": 646.9621658325195,
- "relativeCreated": 34543.20454597473,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:28,646"
- }
- ],
- "time_consumption": 0.1967315673828125
- },
- {
- "name": "__tLogger__",
- "msg": "Away mode is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954648.8442595,
- "msecs": 844.25950050354,
- "relativeCreated": 34740.50188064575,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Away mode is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:28,844",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Away mode",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954648.8440433,
- "msecs": 844.0432548522949,
- "relativeCreated": 34740.28563499451,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Away mode): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:28,844"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Away mode",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954648.8441634,
- "msecs": 844.1634178161621,
- "relativeCreated": 34740.405797958374,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Away mode): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:28,844"
- }
- ],
- "time_consumption": 9.608268737792969e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "23",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954648.8446114,
- "msecs": 844.611406326294,
- "relativeCreated": 34740.853786468506,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:28,844",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Temperature setpoint",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954648.8444102,
- "msecs": 844.4101810455322,
- "relativeCreated": 34740.652561187744,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Temperature setpoint): 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:28,844"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Temperature setpoint",
- "=",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954648.844498,
- "msecs": 844.4979190826416,
- "relativeCreated": 34740.74029922485,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Temperature setpoint): result = 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:28,844"
- }
- ],
- "time_consumption": 0.00011348724365234375
- }
- ],
- "time_consumption": 0.909247875213623,
- "time_start": "2023-02-09 15:57:27,935",
- "time_finished": "2023-02-09 15:57:28,844"
- },
- "Boost mode test: zigbee/ffw/bath/heating_valve": {
- "name": "__tLogger__",
- "msg": "Boost mode test: zigbee/ffw/bath/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 128,
- "funcName": "test_boost_mode",
- "created": 1675954648.845038,
- "msecs": 845.0379371643066,
- "relativeCreated": 34741.28031730652,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Boost mode test: zigbee/ffw/bath/heating_valve",
- "asctime": "2023-02-09 15:57:28,845",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Default setpoint)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 133,
- "funcName": "__test_boost_mode__",
- "created": 1675954649.1471891,
- "msecs": 147.18914031982422,
- "relativeCreated": 35043.431520462036,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Default setpoint)",
- "asctime": "2023-02-09 15:57:29,147",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954648.8453233,
- "msecs": 845.3233242034912,
- "relativeCreated": 34741.5657043457,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:57:28,845"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954648.8462958,
- "msecs": 846.2958335876465,
- "relativeCreated": 34742.53821372986,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:57:28,846"
- }
- ],
- "time_consumption": 0.30089330673217773
- },
- {
- "name": "__tLogger__",
- "msg": "Boost timer is correct (Content %s and Type is %s).",
- "args": [
- "0",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954649.1477528,
- "msecs": 147.7527618408203,
- "relativeCreated": 35043.99514198303,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:29,147",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Boost timer",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954649.147536,
- "msecs": 147.536039352417,
- "relativeCreated": 35043.77841949463,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Boost timer): 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:29,147"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Boost timer",
- "=",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954649.1476583,
- "msecs": 147.6583480834961,
- "relativeCreated": 35043.90072822571,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:29,147"
- }
- ],
- "time_consumption": 9.441375732421875e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Activating boost mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 140,
- "funcName": "__test_boost_mode__",
- "created": 1675954649.449186,
- "msecs": 449.1860866546631,
- "relativeCreated": 35345.428466796875,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Activating boost mode",
- "asctime": "2023-02-09 15:57:29,449",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.start_boost",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/start_boost",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954649.1480267,
- "msecs": 148.026704788208,
- "relativeCreated": 35044.26908493042,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/bath/heating_valve/start_boost and payload true",
- "asctime": "2023-02-09 15:57:29,148"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.start_boost",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/start_boost",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.1490011,
- "msecs": 149.0011215209961,
- "relativeCreated": 35045.24350166321,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/start_boost and payload b'true'",
- "asctime": "2023-02-09 15:57:29,149"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.boost_timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/boost_timer",
- "b'900'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.1605988,
- "msecs": 160.5987548828125,
- "relativeCreated": 35056.841135025024,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/boost_timer and payload b'900'",
- "asctime": "2023-02-09 15:57:29,160"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.1612349,
- "msecs": 161.23485565185547,
- "relativeCreated": 35057.47723579407,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:29,161"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve/set",
- "b'{\"current_heating_setpoint\": 30}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.161791,
- "msecs": 161.7910861968994,
- "relativeCreated": 35058.03346633911,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 30}'",
- "asctime": "2023-02-09 15:57:29,161"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954649.1621306,
- "msecs": 162.13059425354004,
- "relativeCreated": 35058.37297439575,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:29,162"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/valve_temperature_setpoint",
- "b'30'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.1626747,
- "msecs": 162.6746654510498,
- "relativeCreated": 35058.91704559326,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'30'",
- "asctime": "2023-02-09 15:57:29,162"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.163327,
- "msecs": 163.32697868347168,
- "relativeCreated": 35059.56935882568,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:29,163"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.1638439,
- "msecs": 163.84387016296387,
- "relativeCreated": 35060.086250305176,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:29,163"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.2055914,
- "msecs": 205.59144020080566,
- "relativeCreated": 35101.83382034302,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:29,205"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.2470448,
- "msecs": 247.04480171203613,
- "relativeCreated": 35143.28718185425,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:29,247"
- }
- ],
- "time_consumption": 0.20214128494262695
- },
- {
- "name": "__tLogger__",
- "msg": "Boost timer is greater expectation (Content %s and Type is %s).",
- "args": [
- "900",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 230,
- "funcName": "greater_chk",
- "created": 1675954649.4498596,
- "msecs": 449.859619140625,
- "relativeCreated": 35346.10199928284,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Boost timer is greater expectation (Content 900 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:29,449",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Boost timer",
- "900",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954649.4496126,
- "msecs": 449.6126174926758,
- "relativeCreated": 35345.85499763489,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Boost timer): 900 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:29,449"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Boost timer",
- ">",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954649.4497526,
- "msecs": 449.7525691986084,
- "relativeCreated": 35345.99494934082,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Boost timer): result > 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:29,449"
- }
- ],
- "time_consumption": 0.00010704994201660156
- },
- {
- "name": "__tLogger__",
- "msg": "Setting postconditions (Default setpoint)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 145,
- "funcName": "__test_boost_mode__",
- "created": 1675954649.7520902,
- "msecs": 752.0902156829834,
- "relativeCreated": 35648.332595825195,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting postconditions (Default setpoint)",
- "asctime": "2023-02-09 15:57:29,752",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954649.4501505,
- "msecs": 450.1504898071289,
- "relativeCreated": 35346.39286994934,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:57:29,450"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.451272,
- "msecs": 451.27201080322266,
- "relativeCreated": 35347.514390945435,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:57:29,451"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.boost_timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/boost_timer",
- "b'0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.4666438,
- "msecs": 466.6438102722168,
- "relativeCreated": 35362.88619041443,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/boost_timer and payload b'0'",
- "asctime": "2023-02-09 15:57:29,466"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.4675233,
- "msecs": 467.52333641052246,
- "relativeCreated": 35363.765716552734,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:29,467"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve/set",
- "b'{\"current_heating_setpoint\": 23}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.4683151,
- "msecs": 468.31512451171875,
- "relativeCreated": 35364.55750465393,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
- "asctime": "2023-02-09 15:57:29,468"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954649.468728,
- "msecs": 468.72806549072266,
- "relativeCreated": 35364.970445632935,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:29,468"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/valve_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.4693704,
- "msecs": 469.37036514282227,
- "relativeCreated": 35365.612745285034,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:57:29,469"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.4701216,
- "msecs": 470.1216220855713,
- "relativeCreated": 35366.36400222778,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:29,470"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.4707088,
- "msecs": 470.70884704589844,
- "relativeCreated": 35366.95122718811,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:29,470"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.520823,
- "msecs": 520.8230018615723,
- "relativeCreated": 35417.065382003784,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:29,520"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.5621154,
- "msecs": 562.1154308319092,
- "relativeCreated": 35458.35781097412,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:29,562"
- }
- ],
- "time_consumption": 0.18997478485107422
- },
- {
- "name": "__tLogger__",
- "msg": "Boost timer is correct (Content %s and Type is %s).",
- "args": [
- "0",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954649.7527258,
- "msecs": 752.7258396148682,
- "relativeCreated": 35648.96821975708,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:29,752",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Boost timer",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954649.752484,
- "msecs": 752.4840831756592,
- "relativeCreated": 35648.72646331787,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Boost timer): 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:29,752"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Boost timer",
- "=",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954649.7526174,
- "msecs": 752.617359161377,
- "relativeCreated": 35648.85973930359,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:29,752"
- }
- ],
- "time_consumption": 0.00010848045349121094
- }
- ],
- "time_consumption": 0.9076879024505615,
- "time_start": "2023-02-09 15:57:28,845",
- "time_finished": "2023-02-09 15:57:29,752"
- },
- "Default temperature test for device and virtual device: zigbee/ffw/bath/heating_valve": {
- "name": "__tLogger__",
- "msg": "Default temperature test for device and virtual device: zigbee/ffw/bath/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 50,
- "funcName": "test_default_temperature",
- "created": 1675954649.7532492,
- "msecs": 753.2491683959961,
- "relativeCreated": 35649.49154853821,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Default temperature test for device and virtual device: zigbee/ffw/bath/heating_valve",
- "asctime": "2023-02-09 15:57:29,753",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Valve setpoint to %.1f)",
- "args": [
- 18
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 60,
- "funcName": "__test_default_temperature__",
- "created": 1675954650.0555944,
- "msecs": 55.594444274902344,
- "relativeCreated": 35951.836824417114,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Valve setpoint to 18.0)",
- "asctime": "2023-02-09 15:57:30,055",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954649.7536404,
- "msecs": 753.6404132843018,
- "relativeCreated": 35649.882793426514,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:29,753"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.754745,
- "msecs": 754.7450065612793,
- "relativeCreated": 35650.98738670349,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:29,754"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve/set",
- "b'{\"current_heating_setpoint\": 18}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.7761285,
- "msecs": 776.1285305023193,
- "relativeCreated": 35672.37091064453,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'",
- "asctime": "2023-02-09 15:57:29,776"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/valve_temperature_setpoint",
- "b'18'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.77688,
- "msecs": 776.8800258636475,
- "relativeCreated": 35673.12240600586,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'18'",
- "asctime": "2023-02-09 15:57:29,776"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.777605,
- "msecs": 777.6050567626953,
- "relativeCreated": 35673.84743690491,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:29,777"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/user_temperature_setpoint",
- "b'18'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.7781832,
- "msecs": 778.1832218170166,
- "relativeCreated": 35674.42560195923,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'18'",
- "asctime": "2023-02-09 15:57:29,778"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.7787976,
- "msecs": 778.7976264953613,
- "relativeCreated": 35675.04000663757,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:29,778"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.7794383,
- "msecs": 779.4382572174072,
- "relativeCreated": 35675.68063735962,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:29,779"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954649.780294,
- "msecs": 780.2939414978027,
- "relativeCreated": 35676.536321640015,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:29,780"
- }
- ],
- "time_consumption": 0.2753005027770996
- },
- {
- "name": "__tLogger__",
- "msg": "Valve temperature setpoint (is not default temperature) is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954650.0562866,
- "msecs": 56.28657341003418,
- "relativeCreated": 35952.528953552246,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Valve temperature setpoint (is not default temperature) is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:30,056",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Valve temperature setpoint (is not default temperature)",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954650.05601,
- "msecs": 56.01000785827637,
- "relativeCreated": 35952.25238800049,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Valve temperature setpoint (is not default temperature)): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:30,056"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Valve temperature setpoint (is not default temperature)",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954650.0561783,
- "msecs": 56.17833137512207,
- "relativeCreated": 35952.420711517334,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Valve temperature setpoint (is not default temperature)): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:30,056"
- }
- ],
- "time_consumption": 0.00010824203491210938
- },
- {
- "name": "__tLogger__",
- "msg": "Triggering set to default temperature (%.1f)",
- "args": [
- 23
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 66,
- "funcName": "__test_default_temperature__",
- "created": 1675954650.3585308,
- "msecs": 358.53075981140137,
- "relativeCreated": 36254.77313995361,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Triggering set to default temperature (23.0)",
- "asctime": "2023-02-09 15:57:30,358",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954650.0565686,
- "msecs": 56.56862258911133,
- "relativeCreated": 35952.81100273132,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:57:30,056"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.0576875,
- "msecs": 57.68752098083496,
- "relativeCreated": 35953.92990112305,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:57:30,057"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/user_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.0768318,
- "msecs": 76.83181762695312,
- "relativeCreated": 35973.074197769165,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:57:30,076"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.0776722,
- "msecs": 77.67224311828613,
- "relativeCreated": 35973.9146232605,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:30,077"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve/set",
- "b'{\"current_heating_setpoint\": 23}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.078275,
- "msecs": 78.27496528625488,
- "relativeCreated": 35974.51734542847,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
- "asctime": "2023-02-09 15:57:30,078"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954650.0786653,
- "msecs": 78.66525650024414,
- "relativeCreated": 35974.907636642456,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:30,078"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/valve_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.0792823,
- "msecs": 79.28228378295898,
- "relativeCreated": 35975.52466392517,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:57:30,079"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.080023,
- "msecs": 80.02305030822754,
- "relativeCreated": 35976.26543045044,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:30,080"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.0806124,
- "msecs": 80.6124210357666,
- "relativeCreated": 35976.85480117798,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:30,080"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.1251729,
- "msecs": 125.17285346984863,
- "relativeCreated": 36021.41523361206,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:30,125"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.1661017,
- "msecs": 166.10169410705566,
- "relativeCreated": 36062.34407424927,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:30,166"
- }
- ],
- "time_consumption": 0.1924290657043457
- },
- {
- "name": "__tLogger__",
- "msg": "Valve temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "23",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954650.3591988,
- "msecs": 359.19880867004395,
- "relativeCreated": 36255.441188812256,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Valve temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:30,359",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Valve temperature setpoint",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954650.3589516,
- "msecs": 358.9515686035156,
- "relativeCreated": 36255.19394874573,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Valve temperature setpoint): 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:30,358"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Valve temperature setpoint",
- "=",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954650.3590932,
- "msecs": 359.09318923950195,
- "relativeCreated": 36255.335569381714,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Valve temperature setpoint): result = 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:30,359"
- }
- ],
- "time_consumption": 0.00010561943054199219
- }
- ],
- "time_consumption": 0.6059496402740479,
- "time_start": "2023-02-09 15:57:29,753",
- "time_finished": "2023-02-09 15:57:30,359"
- },
- "Summer mode test: zigbee/ffw/bath/heating_valve": {
- "name": "__tLogger__",
- "msg": "Summer mode test: zigbee/ffw/bath/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 74,
- "funcName": "test_summer_mode",
- "created": 1675954650.3596315,
- "msecs": 359.6315383911133,
- "relativeCreated": 36255.873918533325,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Summer mode test: zigbee/ffw/bath/heating_valve",
- "asctime": "2023-02-09 15:57:30,359",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Default setpoint)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 79,
- "funcName": "__test_summer_mode__",
- "created": 1675954650.660931,
- "msecs": 660.9311103820801,
- "relativeCreated": 36557.17349052429,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Default setpoint)",
- "asctime": "2023-02-09 15:57:30,660",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954650.3599353,
- "msecs": 359.9352836608887,
- "relativeCreated": 36256.1776638031,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:57:30,359"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.3610394,
- "msecs": 361.039400100708,
- "relativeCreated": 36257.28178024292,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:57:30,361"
- }
- ],
- "time_consumption": 0.29989171028137207
- },
- {
- "name": "__tLogger__",
- "msg": "Summer mode is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954650.6616273,
- "msecs": 661.6272926330566,
- "relativeCreated": 36557.86967277527,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:30,661",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Summer mode",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954650.6613727,
- "msecs": 661.3726615905762,
- "relativeCreated": 36557.61504173279,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Summer mode): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:30,661"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Summer mode",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954650.6615145,
- "msecs": 661.5145206451416,
- "relativeCreated": 36557.75690078735,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Summer mode): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:30,661"
- }
- ],
- "time_consumption": 0.00011277198791503906
- },
- {
- "name": "__tLogger__",
- "msg": "Activating summer mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 86,
- "funcName": "__test_summer_mode__",
- "created": 1675954650.9634075,
- "msecs": 963.4075164794922,
- "relativeCreated": 36859.649896621704,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Activating summer mode",
- "asctime": "2023-02-09 15:57:30,963",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.summer_mode",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/summer_mode",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954650.6619883,
- "msecs": 661.9882583618164,
- "relativeCreated": 36558.23063850403,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/bath/heating_valve/summer_mode and payload true",
- "asctime": "2023-02-09 15:57:30,661"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.summer_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/summer_mode",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.6630726,
- "msecs": 663.0725860595703,
- "relativeCreated": 36559.31496620178,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/summer_mode and payload b'true'",
- "asctime": "2023-02-09 15:57:30,663"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve/set",
- "b'{\"current_heating_setpoint\": 5}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.6811917,
- "msecs": 681.1916828155518,
- "relativeCreated": 36577.434062957764,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 5}'",
- "asctime": "2023-02-09 15:57:30,681"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954650.6817234,
- "msecs": 681.7233562469482,
- "relativeCreated": 36577.96573638916,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:30,681"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/valve_temperature_setpoint",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.6823862,
- "msecs": 682.3861598968506,
- "relativeCreated": 36578.62854003906,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'5'",
- "asctime": "2023-02-09 15:57:30,682"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.6831667,
- "msecs": 683.1667423248291,
- "relativeCreated": 36579.40912246704,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:30,683"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.summer_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/summer_mode",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.6837637,
- "msecs": 683.7637424468994,
- "relativeCreated": 36580.00612258911,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/summer_mode and payload b'true'",
- "asctime": "2023-02-09 15:57:30,683"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.6843383,
- "msecs": 684.3383312225342,
- "relativeCreated": 36580.580711364746,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:30,684"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.6849067,
- "msecs": 684.9067211151123,
- "relativeCreated": 36581.149101257324,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:30,684"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.7255998,
- "msecs": 725.5997657775879,
- "relativeCreated": 36621.8421459198,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:30,725"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.765972,
- "msecs": 765.9718990325928,
- "relativeCreated": 36662.214279174805,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:30,765"
- }
- ],
- "time_consumption": 0.19743561744689941
- },
- {
- "name": "__tLogger__",
- "msg": "Summer mode is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954650.9640443,
- "msecs": 964.0443325042725,
- "relativeCreated": 36860.286712646484,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Summer mode is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:30,964",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Summer mode",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954650.963798,
- "msecs": 963.7980461120605,
- "relativeCreated": 36860.04042625427,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Summer mode): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:30,963"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Summer mode",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954650.9639351,
- "msecs": 963.935136795044,
- "relativeCreated": 36860.177516937256,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Summer mode): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:30,963"
- }
- ],
- "time_consumption": 0.00010919570922851562
- },
- {
- "name": "__tLogger__",
- "msg": "Temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954650.964445,
- "msecs": 964.4451141357422,
- "relativeCreated": 36860.687494277954,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Temperature setpoint is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:30,964",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Temperature setpoint",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954650.964216,
- "msecs": 964.2159938812256,
- "relativeCreated": 36860.45837402344,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Temperature setpoint): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:30,964"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Temperature setpoint",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954650.9643543,
- "msecs": 964.3542766571045,
- "relativeCreated": 36860.59665679932,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Temperature setpoint): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:30,964"
- }
- ],
- "time_consumption": 9.083747863769531e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Deactivating summer mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 92,
- "funcName": "__test_summer_mode__",
- "created": 1675954651.2667806,
- "msecs": 266.7806148529053,
- "relativeCreated": 37163.02299499512,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Deactivating summer mode",
- "asctime": "2023-02-09 15:57:31,266",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.summer_mode",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/summer_mode",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954650.964743,
- "msecs": 964.74289894104,
- "relativeCreated": 36860.98527908325,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/bath/heating_valve/summer_mode and payload false",
- "asctime": "2023-02-09 15:57:30,964"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.summer_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/summer_mode",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.9658325,
- "msecs": 965.8324718475342,
- "relativeCreated": 36862.074851989746,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/summer_mode and payload b'false'",
- "asctime": "2023-02-09 15:57:30,965"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve/set",
- "b'{\"current_heating_setpoint\": 23}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.976963,
- "msecs": 976.9630432128906,
- "relativeCreated": 36873.2054233551,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
- "asctime": "2023-02-09 15:57:30,976"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954650.977543,
- "msecs": 977.5431156158447,
- "relativeCreated": 36873.78549575806,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:30,977"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/valve_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.9781742,
- "msecs": 978.1742095947266,
- "relativeCreated": 36874.41658973694,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:57:30,978"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.9789395,
- "msecs": 978.9395332336426,
- "relativeCreated": 36875.181913375854,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:30,978"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.summer_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/summer_mode",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.9795296,
- "msecs": 979.529619216919,
- "relativeCreated": 36875.77199935913,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/summer_mode and payload b'false'",
- "asctime": "2023-02-09 15:57:30,979"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.980101,
- "msecs": 980.1011085510254,
- "relativeCreated": 36876.34348869324,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:30,980"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954650.9807014,
- "msecs": 980.7014465332031,
- "relativeCreated": 36876.943826675415,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:30,980"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.0219607,
- "msecs": 21.960735321044922,
- "relativeCreated": 36918.20311546326,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:31,021"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.0665574,
- "msecs": 66.55740737915039,
- "relativeCreated": 36962.79978752136,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:31,066"
- }
- ],
- "time_consumption": 0.20022320747375488
- },
- {
- "name": "__tLogger__",
- "msg": "Summer mode is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954651.2674549,
- "msecs": 267.4548625946045,
- "relativeCreated": 37163.69724273682,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:31,267",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Summer mode",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954651.2672055,
- "msecs": 267.20547676086426,
- "relativeCreated": 37163.447856903076,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Summer mode): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:31,267"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Summer mode",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954651.2673461,
- "msecs": 267.3461437225342,
- "relativeCreated": 37163.588523864746,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Summer mode): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:31,267"
- }
- ],
- "time_consumption": 0.0001087188720703125
- },
- {
- "name": "__tLogger__",
- "msg": "Temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "23",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954651.267814,
- "msecs": 267.81392097473145,
- "relativeCreated": 37164.05630111694,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:31,267",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Temperature setpoint",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954651.2676263,
- "msecs": 267.6262855529785,
- "relativeCreated": 37163.86866569519,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Temperature setpoint): 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:31,267"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Temperature setpoint",
- "=",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954651.2677255,
- "msecs": 267.72546768188477,
- "relativeCreated": 37163.9678478241,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Temperature setpoint): result = 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:31,267"
- }
- ],
- "time_consumption": 8.845329284667969e-05
- }
- ],
- "time_consumption": 0.9081823825836182,
- "time_start": "2023-02-09 15:57:30,359",
- "time_finished": "2023-02-09 15:57:31,267"
- },
- "User temperature setpoint test for device and virtual device: zigbee/ffw/bath/heating_valve": {
- "name": "__tLogger__",
- "msg": "User temperature setpoint test for device and virtual device: zigbee/ffw/bath/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "test_user_temperature_setpoint",
- "created": 1675954651.2682328,
- "msecs": 268.2328224182129,
- "relativeCreated": 37164.475202560425,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "User temperature setpoint test for device and virtual device: zigbee/ffw/bath/heating_valve",
- "asctime": "2023-02-09 15:57:31,268",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Changing valve temperature setpoint to '%.1f'",
- "args": [
- 18
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 33,
- "funcName": "__test_user_temperature_setpoint__",
- "created": 1675954651.5708034,
- "msecs": 570.8034038543701,
- "relativeCreated": 37467.04578399658,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing valve temperature setpoint to '18.0'",
- "asctime": "2023-02-09 15:57:31,570",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954651.268616,
- "msecs": 268.6159610748291,
- "relativeCreated": 37164.85834121704,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:31,268"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.2702723,
- "msecs": 270.27225494384766,
- "relativeCreated": 37166.51463508606,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:31,270"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve/set",
- "b'{\"current_heating_setpoint\": 18}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.2914987,
- "msecs": 291.49866104125977,
- "relativeCreated": 37187.74104118347,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'",
- "asctime": "2023-02-09 15:57:31,291"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/valve_temperature_setpoint",
- "b'18'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.2922127,
- "msecs": 292.21272468566895,
- "relativeCreated": 37188.45510482788,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'18'",
- "asctime": "2023-02-09 15:57:31,292"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.2928555,
- "msecs": 292.85550117492676,
- "relativeCreated": 37189.09788131714,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:31,292"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/user_temperature_setpoint",
- "b'18'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.2934575,
- "msecs": 293.4575080871582,
- "relativeCreated": 37189.69988822937,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'18'",
- "asctime": "2023-02-09 15:57:31,293"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.2940469,
- "msecs": 294.04687881469727,
- "relativeCreated": 37190.28925895691,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:31,294"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.2946248,
- "msecs": 294.62480545043945,
- "relativeCreated": 37190.86718559265,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:31,294"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.2952383,
- "msecs": 295.2382564544678,
- "relativeCreated": 37191.48063659668,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:31,295"
- }
- ],
- "time_consumption": 0.27556514739990234
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
- "args": [
- "18",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954651.5715027,
- "msecs": 571.502685546875,
- "relativeCreated": 37467.74506568909,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device valve temperature is correct (Content 18 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:31,571",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954651.5712235,
- "msecs": 571.2234973907471,
- "relativeCreated": 37467.46587753296,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device valve temperature): 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:31,571"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "=",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954651.571397,
- "msecs": 571.397066116333,
- "relativeCreated": 37467.639446258545,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device valve temperature): result = 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:31,571"
- }
- ],
- "time_consumption": 0.00010561943054199219
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
- "args": [
- "18",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954651.5718544,
- "msecs": 571.8543529510498,
- "relativeCreated": 37468.09673309326,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device user temperature is correct (Content 18 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:31,571",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device user temperature",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954651.5716703,
- "msecs": 571.6702938079834,
- "relativeCreated": 37467.912673950195,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device user temperature): 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:31,571"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device user temperature",
- "=",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954651.5717673,
- "msecs": 571.7673301696777,
- "relativeCreated": 37468.00971031189,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device user temperature): result = 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:31,571"
- }
- ],
- "time_consumption": 8.702278137207031e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing videv user temperature setpoint to '%.1f'",
- "args": [
- 23
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 41,
- "funcName": "__test_user_temperature_setpoint__",
- "created": 1675954651.874071,
- "msecs": 874.0708827972412,
- "relativeCreated": 37770.31326293945,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing videv user temperature setpoint to '23.0'",
- "asctime": "2023-02-09 15:57:31,874",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/user_temperature_setpoint",
- "23"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954651.572149,
- "msecs": 572.1490383148193,
- "relativeCreated": 37468.39141845703,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload 23",
- "asctime": "2023-02-09 15:57:31,572"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/user_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.5732791,
- "msecs": 573.2791423797607,
- "relativeCreated": 37469.52152252197,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:57:31,573"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve/set",
- "b'{\"current_heating_setpoint\": 23}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.5909166,
- "msecs": 590.916633605957,
- "relativeCreated": 37487.15901374817,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
- "asctime": "2023-02-09 15:57:31,590"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954651.5914252,
- "msecs": 591.4251804351807,
- "relativeCreated": 37487.66756057739,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:31,591"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/valve_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.5920656,
- "msecs": 592.0655727386475,
- "relativeCreated": 37488.30795288086,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:57:31,592"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.5928237,
- "msecs": 592.8237438201904,
- "relativeCreated": 37489.0661239624,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:31,592"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/user_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.5934558,
- "msecs": 593.4557914733887,
- "relativeCreated": 37489.6981716156,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:57:31,593"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.5940914,
- "msecs": 594.0914154052734,
- "relativeCreated": 37490.333795547485,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:31,594"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.594695,
- "msecs": 594.6950912475586,
- "relativeCreated": 37490.93747138977,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:31,594"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.641747,
- "msecs": 641.746997833252,
- "relativeCreated": 37537.989377975464,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:31,641"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.687028,
- "msecs": 687.0279312133789,
- "relativeCreated": 37583.27031135559,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:31,687"
- }
- ],
- "time_consumption": 0.1870429515838623
- },
- {
- "name": "__tLogger__",
- "msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "23",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954651.874736,
- "msecs": 874.7360706329346,
- "relativeCreated": 37770.97845077515,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Valve device temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:31,874",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Valve device temperature setpoint",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954651.874492,
- "msecs": 874.4919300079346,
- "relativeCreated": 37770.73431015015,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Valve device temperature setpoint): 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:31,874"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Valve device temperature setpoint",
- "=",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954651.8746297,
- "msecs": 874.6297359466553,
- "relativeCreated": 37770.87211608887,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Valve device temperature setpoint): result = 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:31,874"
- }
- ],
- "time_consumption": 0.00010633468627929688
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
- "args": [
- "23",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954651.8751552,
- "msecs": 875.1552104949951,
- "relativeCreated": 37771.39759063721,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device valve temperature is correct (Content 23 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:31,875",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954651.8749492,
- "msecs": 874.9492168426514,
- "relativeCreated": 37771.19159698486,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device valve temperature): 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:31,874"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "=",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954651.87505,
- "msecs": 875.0500679016113,
- "relativeCreated": 37771.29244804382,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device valve temperature): result = 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:31,875"
- }
- ],
- "time_consumption": 0.00010514259338378906
- },
- {
- "name": "__tLogger__",
- "msg": "Changing valve temperature setpoint to '%.1f'",
- "args": [
- 18
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 33,
- "funcName": "__test_user_temperature_setpoint__",
- "created": 1675954652.1773944,
- "msecs": 177.39439010620117,
- "relativeCreated": 38073.63677024841,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing valve temperature setpoint to '18.0'",
- "asctime": "2023-02-09 15:57:32,177",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954651.875463,
- "msecs": 875.4630088806152,
- "relativeCreated": 37771.70538902283,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:31,875"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.8765883,
- "msecs": 876.5883445739746,
- "relativeCreated": 37772.83072471619,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:31,876"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve/set",
- "b'{\"current_heating_setpoint\": 18}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.8955426,
- "msecs": 895.5426216125488,
- "relativeCreated": 37791.78500175476,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'",
- "asctime": "2023-02-09 15:57:31,895"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/valve_temperature_setpoint",
- "b'18'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.8962796,
- "msecs": 896.2795734405518,
- "relativeCreated": 37792.521953582764,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'18'",
- "asctime": "2023-02-09 15:57:31,896"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.8969252,
- "msecs": 896.9252109527588,
- "relativeCreated": 37793.16759109497,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:31,896"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/user_temperature_setpoint",
- "b'18'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.8975601,
- "msecs": 897.5601196289062,
- "relativeCreated": 37793.80249977112,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'18'",
- "asctime": "2023-02-09 15:57:31,897"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.8981764,
- "msecs": 898.1764316558838,
- "relativeCreated": 37794.418811798096,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:31,898"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.898749,
- "msecs": 898.7491130828857,
- "relativeCreated": 37794.9914932251,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:31,898"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954651.8993642,
- "msecs": 899.3642330169678,
- "relativeCreated": 37795.60661315918,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:31,899"
- }
- ],
- "time_consumption": 0.2780301570892334
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
- "args": [
- "18",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954652.1780894,
- "msecs": 178.08938026428223,
- "relativeCreated": 38074.331760406494,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device valve temperature is correct (Content 18 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:32,178",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954652.177846,
- "msecs": 177.84595489501953,
- "relativeCreated": 38074.08833503723,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device valve temperature): 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:32,177"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "=",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954652.177984,
- "msecs": 177.98399925231934,
- "relativeCreated": 38074.22637939453,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device valve temperature): result = 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:32,177"
- }
- ],
- "time_consumption": 0.00010538101196289062
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
- "args": [
- "18",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954652.1784594,
- "msecs": 178.45940589904785,
- "relativeCreated": 38074.70178604126,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device user temperature is correct (Content 18 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:32,178",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device user temperature",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954652.1782691,
- "msecs": 178.2691478729248,
- "relativeCreated": 38074.51152801514,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device user temperature): 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:32,178"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device user temperature",
- "=",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954652.1783717,
- "msecs": 178.37166786193848,
- "relativeCreated": 38074.61404800415,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device user temperature): result = 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:32,178"
- }
- ],
- "time_consumption": 8.7738037109375e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing videv user temperature setpoint to '%.1f'",
- "args": [
- 23
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 41,
- "funcName": "__test_user_temperature_setpoint__",
- "created": 1675954652.479733,
- "msecs": 479.7329902648926,
- "relativeCreated": 38375.975370407104,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing videv user temperature setpoint to '23.0'",
- "asctime": "2023-02-09 15:57:32,479",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/user_temperature_setpoint",
- "23"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954652.1787586,
- "msecs": 178.7586212158203,
- "relativeCreated": 38075.00100135803,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload 23",
- "asctime": "2023-02-09 15:57:32,178"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/user_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.179859,
- "msecs": 179.85892295837402,
- "relativeCreated": 38076.101303100586,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:57:32,179"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve/set",
- "b'{\"current_heating_setpoint\": 23}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.1981337,
- "msecs": 198.1337070465088,
- "relativeCreated": 38094.37608718872,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
- "asctime": "2023-02-09 15:57:32,198"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954652.198669,
- "msecs": 198.6689567565918,
- "relativeCreated": 38094.911336898804,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/bath/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:32,198"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/valve_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.1993146,
- "msecs": 199.31459426879883,
- "relativeCreated": 38095.55697441101,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/valve_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:57:32,199"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.2000844,
- "msecs": 200.08444786071777,
- "relativeCreated": 38096.32682800293,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:32,200"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/user_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.2006717,
- "msecs": 200.67167282104492,
- "relativeCreated": 38096.91405296326,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/user_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:57:32,200"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.2013223,
- "msecs": 201.3223171234131,
- "relativeCreated": 38097.564697265625,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:32,201"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.bath.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/bath/heating_valve",
- "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.201901,
- "msecs": 201.90095901489258,
- "relativeCreated": 38098.143339157104,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/bath/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:32,201"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.2497182,
- "msecs": 249.71818923950195,
- "relativeCreated": 38145.960569381714,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:32,249"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.bath.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/bath/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.295039,
- "msecs": 295.03893852233887,
- "relativeCreated": 38191.28131866455,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/bath/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:32,295"
- }
- ],
- "time_consumption": 0.1846940517425537
- },
- {
- "name": "__tLogger__",
- "msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "23",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954652.4803185,
- "msecs": 480.318546295166,
- "relativeCreated": 38376.56092643738,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Valve device temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:32,480",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Valve device temperature setpoint",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954652.4801066,
- "msecs": 480.1065921783447,
- "relativeCreated": 38376.34897232056,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Valve device temperature setpoint): 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:32,480"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Valve device temperature setpoint",
- "=",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954652.4802258,
- "msecs": 480.2258014678955,
- "relativeCreated": 38376.46818161011,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Valve device temperature setpoint): result = 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:32,480"
- }
- ],
- "time_consumption": 9.274482727050781e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
- "args": [
- "23",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954652.4806206,
- "msecs": 480.6206226348877,
- "relativeCreated": 38376.8630027771,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device valve temperature is correct (Content 23 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:32,480",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954652.4804647,
- "msecs": 480.4646968841553,
- "relativeCreated": 38376.70707702637,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device valve temperature): 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:32,480"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "=",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954652.4805467,
- "msecs": 480.5467128753662,
- "relativeCreated": 38376.78909301758,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device valve temperature): result = 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:32,480"
- }
- ],
- "time_consumption": 7.390975952148438e-05
- }
- ],
- "time_consumption": 1.2123878002166748,
- "time_start": "2023-02-09 15:57:31,268",
- "time_finished": "2023-02-09 15:57:32,480"
- },
- "Brightness test for device and virtual device: zigbee/ffw/julian/main_light": {
- "name": "__tLogger__",
- "msg": "Brightness test for device and virtual device: zigbee/ffw/julian/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 50,
- "funcName": "test_brightness",
- "created": 1675954652.4810905,
- "msecs": 481.0905456542969,
- "relativeCreated": 38377.33292579651,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Brightness test for device and virtual device: zigbee/ffw/julian/main_light",
- "asctime": "2023-02-09 15:57:32,481",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 57,
- "funcName": "__test_brightness__",
- "created": 1675954652.7827115,
- "msecs": 782.7115058898926,
- "relativeCreated": 38678.953886032104,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:57:32,782",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954652.4813445,
- "msecs": 481.34446144104004,
- "relativeCreated": 38377.58684158325,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:32,481"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954652.4818687,
- "msecs": 481.8687438964844,
- "relativeCreated": 38378.111124038696,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:32,481"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.4827013,
- "msecs": 482.70130157470703,
- "relativeCreated": 38378.94368171692,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:32,482"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.4833016,
- "msecs": 483.30163955688477,
- "relativeCreated": 38379.5440196991,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:32,483"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.5256674,
- "msecs": 525.6674289703369,
- "relativeCreated": 38421.90980911255,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:32,525"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.5263767,
- "msecs": 526.3767242431641,
- "relativeCreated": 38422.619104385376,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:32,526"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.526918,
- "msecs": 526.9179344177246,
- "relativeCreated": 38423.16031455994,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:32,526"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.527473,
- "msecs": 527.472972869873,
- "relativeCreated": 38423.715353012085,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:32,527"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.5297961,
- "msecs": 529.7961235046387,
- "relativeCreated": 38426.03850364685,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:32,529"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.530447,
- "msecs": 530.4470062255859,
- "relativeCreated": 38426.6893863678,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:32,530"
- }
- ],
- "time_consumption": 0.25226449966430664
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954652.783395,
- "msecs": 783.3950519561768,
- "relativeCreated": 38679.63743209839,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:32,783",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954652.7831488,
- "msecs": 783.1487655639648,
- "relativeCreated": 38679.39114570618,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:32,783"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954652.7832882,
- "msecs": 783.2882404327393,
- "relativeCreated": 38679.53062057495,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:32,783"
- }
- ],
- "time_consumption": 0.0001068115234375
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954653.0856943,
- "msecs": 85.6943130493164,
- "relativeCreated": 38981.93669319153,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:33,085",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954652.7837508,
- "msecs": 783.7507724761963,
- "relativeCreated": 38679.99315261841,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:32,783"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.7848635,
- "msecs": 784.8634719848633,
- "relativeCreated": 38681.105852127075,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:32,784"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.7874553,
- "msecs": 787.4553203582764,
- "relativeCreated": 38683.69770050049,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:32,787"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954652.7881267,
- "msecs": 788.1267070770264,
- "relativeCreated": 38684.36908721924,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:32,788"
- }
- ],
- "time_consumption": 0.29756760597229004
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954653.086338,
- "msecs": 86.33804321289062,
- "relativeCreated": 38982.5804233551,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:33,086",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954653.086101,
- "msecs": 86.10105514526367,
- "relativeCreated": 38982.343435287476,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:33,086"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954653.086234,
- "msecs": 86.23409271240234,
- "relativeCreated": 38982.476472854614,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:33,086"
- }
- ],
- "time_consumption": 0.00010395050048828125
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954653.086736,
- "msecs": 86.73596382141113,
- "relativeCreated": 38982.97834396362,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:33,086",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954653.0865505,
- "msecs": 86.55047416687012,
- "relativeCreated": 38982.79285430908,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:33,086"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954653.0866482,
- "msecs": 86.64822578430176,
- "relativeCreated": 38982.890605926514,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:33,086"
- }
- ],
- "time_consumption": 8.7738037109375e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954653.388924,
- "msecs": 388.92388343811035,
- "relativeCreated": 39285.16626358032,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:33,388",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954653.0870214,
- "msecs": 87.0213508605957,
- "relativeCreated": 38983.26373100281,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/julian/main_light/brightness and payload 50",
- "asctime": "2023-02-09 15:57:33,087"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954653.0880852,
- "msecs": 88.08517456054688,
- "relativeCreated": 38984.32755470276,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:33,088"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954653.089875,
- "msecs": 89.8749828338623,
- "relativeCreated": 38986.117362976074,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/julian/main_light/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:33,089"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954653.0903485,
- "msecs": 90.34848213195801,
- "relativeCreated": 38986.59086227417,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:33,090"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954653.0913472,
- "msecs": 91.34721755981445,
- "relativeCreated": 38987.58959770203,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:33,091"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954653.1363544,
- "msecs": 136.3544464111328,
- "relativeCreated": 39032.596826553345,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:33,136"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954653.1370947,
- "msecs": 137.09473609924316,
- "relativeCreated": 39033.337116241455,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:33,137"
- }
- ],
- "time_consumption": 0.2518291473388672
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954653.3896477,
- "msecs": 389.6477222442627,
- "relativeCreated": 39285.890102386475,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:33,389",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954653.3893926,
- "msecs": 389.392614364624,
- "relativeCreated": 39285.634994506836,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:33,389"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954653.3895268,
- "msecs": 389.5268440246582,
- "relativeCreated": 39285.76922416687,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:33,389"
- }
- ],
- "time_consumption": 0.00012087821960449219
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954653.390004,
- "msecs": 390.00391960144043,
- "relativeCreated": 39286.24629974365,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:33,390",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954653.389818,
- "msecs": 389.8179531097412,
- "relativeCreated": 39286.06033325195,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:33,389"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954653.3899152,
- "msecs": 389.91522789001465,
- "relativeCreated": 39286.15760803223,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:33,389"
- }
- ],
- "time_consumption": 8.869171142578125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954653.6913967,
- "msecs": 691.3967132568359,
- "relativeCreated": 39587.63909339905,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:33,691",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954653.390348,
- "msecs": 390.347957611084,
- "relativeCreated": 39286.590337753296,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:33,390"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954653.3914418,
- "msecs": 391.44182205200195,
- "relativeCreated": 39287.684202194214,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:33,391"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954653.393936,
- "msecs": 393.9359188079834,
- "relativeCreated": 39290.178298950195,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:33,393"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954653.3946078,
- "msecs": 394.6077823638916,
- "relativeCreated": 39290.8501625061,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:33,394"
- }
- ],
- "time_consumption": 0.29678893089294434
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954653.6920688,
- "msecs": 692.0688152313232,
- "relativeCreated": 39588.311195373535,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:33,692",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954653.6918323,
- "msecs": 691.8323040008545,
- "relativeCreated": 39588.07468414307,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:33,691"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954653.6919649,
- "msecs": 691.964864730835,
- "relativeCreated": 39588.20724487305,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:33,691"
- }
- ],
- "time_consumption": 0.00010395050048828125
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954653.6924512,
- "msecs": 692.4512386322021,
- "relativeCreated": 39588.693618774414,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:33,692",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954653.692238,
- "msecs": 692.2380924224854,
- "relativeCreated": 39588.4804725647,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:33,692"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954653.692355,
- "msecs": 692.3549175262451,
- "relativeCreated": 39588.59729766846,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:33,692"
- }
- ],
- "time_consumption": 9.632110595703125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954653.9947226,
- "msecs": 994.7226047515869,
- "relativeCreated": 39890.9649848938,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:33,994",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954653.6927354,
- "msecs": 692.7354335784912,
- "relativeCreated": 39588.9778137207,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/julian/main_light/brightness and payload 50",
- "asctime": "2023-02-09 15:57:33,692"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954653.693818,
- "msecs": 693.8180923461914,
- "relativeCreated": 39590.0604724884,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:33,693"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954653.6955602,
- "msecs": 695.5602169036865,
- "relativeCreated": 39591.8025970459,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/julian/main_light/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:33,695"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954653.6960094,
- "msecs": 696.0093975067139,
- "relativeCreated": 39592.251777648926,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:33,696"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954653.6970077,
- "msecs": 697.0076560974121,
- "relativeCreated": 39593.250036239624,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:33,697"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954653.740215,
- "msecs": 740.2150630950928,
- "relativeCreated": 39636.457443237305,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:33,740"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954653.7409718,
- "msecs": 740.9718036651611,
- "relativeCreated": 39637.21418380737,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:33,740"
- }
- ],
- "time_consumption": 0.2537508010864258
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954653.9954069,
- "msecs": 995.4068660736084,
- "relativeCreated": 39891.64924621582,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:33,995",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954653.9951296,
- "msecs": 995.1295852661133,
- "relativeCreated": 39891.371965408325,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:33,995"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954653.9952638,
- "msecs": 995.2638149261475,
- "relativeCreated": 39891.50619506836,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:33,995"
- }
- ],
- "time_consumption": 0.0001430511474609375
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 74,
- "funcName": "__test_brightness__",
- "created": 1675954654.297626,
- "msecs": 297.6260185241699,
- "relativeCreated": 40193.86839866638,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:57:34,297",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954653.9956596,
- "msecs": 995.659589767456,
- "relativeCreated": 39891.90196990967,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:33,995"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954653.996779,
- "msecs": 996.7789649963379,
- "relativeCreated": 39893.02134513855,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:33,996"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954653.9989552,
- "msecs": 998.955249786377,
- "relativeCreated": 39895.19762992859,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:33,998"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954653.999632,
- "msecs": 999.6318817138672,
- "relativeCreated": 39895.87426185608,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:33,999"
- }
- ],
- "time_consumption": 0.29799413681030273
- }
- ],
- "time_consumption": 1.816535472869873,
- "time_start": "2023-02-09 15:57:32,481",
- "time_finished": "2023-02-09 15:57:34,297"
- },
- "Color temperature test for device and virtual device: zigbee/ffw/julian/main_light": {
- "name": "__tLogger__",
- "msg": "Color temperature test for device and virtual device: zigbee/ffw/julian/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 81,
- "funcName": "test_color_temp",
- "created": 1675954654.2983677,
- "msecs": 298.3677387237549,
- "relativeCreated": 40194.61011886597,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Color temperature test for device and virtual device: zigbee/ffw/julian/main_light",
- "asctime": "2023-02-09 15:57:34,298",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 88,
- "funcName": "__test_color_temp__",
- "created": 1675954654.601112,
- "msecs": 601.111888885498,
- "relativeCreated": 40497.35426902771,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:57:34,601",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954654.298687,
- "msecs": 298.6869812011719,
- "relativeCreated": 40194.929361343384,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:34,298"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954654.2992597,
- "msecs": 299.2596626281738,
- "relativeCreated": 40195.502042770386,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:34,299"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954654.3002572,
- "msecs": 300.25720596313477,
- "relativeCreated": 40196.49958610535,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:34,300"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954654.3009248,
- "msecs": 300.92477798461914,
- "relativeCreated": 40197.16715812683,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:34,300"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954654.3416517,
- "msecs": 341.65167808532715,
- "relativeCreated": 40237.89405822754,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:34,341"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954654.3423607,
- "msecs": 342.3607349395752,
- "relativeCreated": 40238.60311508179,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:34,342"
- }
- ],
- "time_consumption": 0.25875115394592285
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954654.6016798,
- "msecs": 601.679801940918,
- "relativeCreated": 40497.92218208313,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:34,601",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954654.601467,
- "msecs": 601.4668941497803,
- "relativeCreated": 40497.70927429199,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:34,601"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954654.6015866,
- "msecs": 601.5865802764893,
- "relativeCreated": 40497.8289604187,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:34,601"
- }
- ],
- "time_consumption": 9.322166442871094e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 94,
- "funcName": "__test_color_temp__",
- "created": 1675954654.903883,
- "msecs": 903.8829803466797,
- "relativeCreated": 40800.12536048889,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device color temperature to '5'",
- "asctime": "2023-02-09 15:57:34,903",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954654.6020005,
- "msecs": 602.0004749298096,
- "relativeCreated": 40498.24285507202,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:34,602"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954654.6029603,
- "msecs": 602.9603481292725,
- "relativeCreated": 40499.202728271484,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:34,602"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/color_temp",
- "b'8.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954654.6052377,
- "msecs": 605.2377223968506,
- "relativeCreated": 40501.48010253906,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'8.0'",
- "asctime": "2023-02-09 15:57:34,605"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954654.605849,
- "msecs": 605.849027633667,
- "relativeCreated": 40502.09140777588,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:34,605"
- }
- ],
- "time_consumption": 0.2980339527130127
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954654.9045208,
- "msecs": 904.5207500457764,
- "relativeCreated": 40800.76313018799,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:34,904",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954654.9042847,
- "msecs": 904.2847156524658,
- "relativeCreated": 40800.52709579468,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:34,904"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954654.9044173,
- "msecs": 904.4172763824463,
- "relativeCreated": 40800.65965652466,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:34,904"
- }
- ],
- "time_consumption": 0.00010347366333007812
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954654.904873,
- "msecs": 904.8728942871094,
- "relativeCreated": 40801.11527442932,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:34,904",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954654.9046896,
- "msecs": 904.6895503997803,
- "relativeCreated": 40800.93193054199,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:34,904"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954654.9047859,
- "msecs": 904.7858715057373,
- "relativeCreated": 40801.02825164795,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:34,904"
- }
- ],
- "time_consumption": 8.702278137207031e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 100,
- "funcName": "__test_color_temp__",
- "created": 1675954655.2071211,
- "msecs": 207.1211338043213,
- "relativeCreated": 41103.36351394653,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device color temperature to '5'",
- "asctime": "2023-02-09 15:57:35,207",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954654.905195,
- "msecs": 905.1949977874756,
- "relativeCreated": 40801.43737792969,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/julian/main_light/color_temp and payload 5",
- "asctime": "2023-02-09 15:57:34,905"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954654.9062855,
- "msecs": 906.2855243682861,
- "relativeCreated": 40802.5279045105,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:57:34,906"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954654.907964,
- "msecs": 907.9639911651611,
- "relativeCreated": 40804.20637130737,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/julian/main_light/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:34,907"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954654.908434,
- "msecs": 908.4339141845703,
- "relativeCreated": 40804.67629432678,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:34,908"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954654.9094582,
- "msecs": 909.4581604003906,
- "relativeCreated": 40805.7005405426,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:34,909"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954654.9535675,
- "msecs": 953.5675048828125,
- "relativeCreated": 40849.809885025024,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:34,953"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954654.9542112,
- "msecs": 954.2112350463867,
- "relativeCreated": 40850.4536151886,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:34,954"
- }
- ],
- "time_consumption": 0.25290989875793457
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954655.2076976,
- "msecs": 207.69762992858887,
- "relativeCreated": 41103.9400100708,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:35,207",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954655.2074883,
- "msecs": 207.4882984161377,
- "relativeCreated": 41103.73067855835,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:35,207"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954655.2076054,
- "msecs": 207.60536193847656,
- "relativeCreated": 41103.84774208069,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:35,207"
- }
- ],
- "time_consumption": 9.226799011230469e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954655.2080593,
- "msecs": 208.05931091308594,
- "relativeCreated": 41104.3016910553,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:35,208",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954655.2078779,
- "msecs": 207.87787437438965,
- "relativeCreated": 41104.1202545166,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:35,207"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954655.2079744,
- "msecs": 207.97443389892578,
- "relativeCreated": 41104.21681404114,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:35,207"
- }
- ],
- "time_consumption": 8.487701416015625e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 94,
- "funcName": "__test_color_temp__",
- "created": 1675954655.5097334,
- "msecs": 509.7334384918213,
- "relativeCreated": 41405.97581863403,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device color temperature to '5'",
- "asctime": "2023-02-09 15:57:35,509",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954655.2088177,
- "msecs": 208.817720413208,
- "relativeCreated": 41105.06010055542,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:35,208"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954655.2098067,
- "msecs": 209.8066806793213,
- "relativeCreated": 41106.04906082153,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:35,209"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/color_temp",
- "b'8.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954655.2120283,
- "msecs": 212.02826499938965,
- "relativeCreated": 41108.2706451416,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'8.0'",
- "asctime": "2023-02-09 15:57:35,212"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954655.2126195,
- "msecs": 212.61954307556152,
- "relativeCreated": 41108.86192321777,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:35,212"
- }
- ],
- "time_consumption": 0.29711389541625977
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954655.5103092,
- "msecs": 510.30921936035156,
- "relativeCreated": 41406.55159950256,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:35,510",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954655.5101013,
- "msecs": 510.101318359375,
- "relativeCreated": 41406.34369850159,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:35,510"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954655.5102177,
- "msecs": 510.21766662597656,
- "relativeCreated": 41406.46004676819,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:35,510"
- }
- ],
- "time_consumption": 9.1552734375e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954655.5106542,
- "msecs": 510.6542110443115,
- "relativeCreated": 41406.89659118652,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:35,510",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954655.5104558,
- "msecs": 510.455846786499,
- "relativeCreated": 41406.69822692871,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:35,510"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954655.5105426,
- "msecs": 510.542631149292,
- "relativeCreated": 41406.785011291504,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:35,510"
- }
- ],
- "time_consumption": 0.00011157989501953125
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 100,
- "funcName": "__test_color_temp__",
- "created": 1675954655.812786,
- "msecs": 812.7861022949219,
- "relativeCreated": 41709.028482437134,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device color temperature to '5'",
- "asctime": "2023-02-09 15:57:35,812",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954655.510908,
- "msecs": 510.9078884124756,
- "relativeCreated": 41407.15026855469,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/julian/main_light/color_temp and payload 5",
- "asctime": "2023-02-09 15:57:35,510"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954655.5118806,
- "msecs": 511.88063621520996,
- "relativeCreated": 41408.12301635742,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:57:35,511"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954655.5134518,
- "msecs": 513.4518146514893,
- "relativeCreated": 41409.6941947937,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/julian/main_light/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:35,513"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954655.5138466,
- "msecs": 513.8466358184814,
- "relativeCreated": 41410.08901596069,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:35,513"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954655.514752,
- "msecs": 514.7519111633301,
- "relativeCreated": 41410.99429130554,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:35,514"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954655.5576766,
- "msecs": 557.6765537261963,
- "relativeCreated": 41453.91893386841,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:35,557"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954655.5583644,
- "msecs": 558.3643913269043,
- "relativeCreated": 41454.606771469116,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:35,558"
- }
- ],
- "time_consumption": 0.2544217109680176
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954655.8134644,
- "msecs": 813.4644031524658,
- "relativeCreated": 41709.70678329468,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:35,813",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954655.8132162,
- "msecs": 813.2162094116211,
- "relativeCreated": 41709.45858955383,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:35,813"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954655.813339,
- "msecs": 813.3389949798584,
- "relativeCreated": 41709.58137512207,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:35,813"
- }
- ],
- "time_consumption": 0.00012540817260742188
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 105,
- "funcName": "__test_color_temp__",
- "created": 1675954656.1155834,
- "msecs": 115.58341979980469,
- "relativeCreated": 42011.82579994202,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:57:36,115",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954655.8136852,
- "msecs": 813.6851787567139,
- "relativeCreated": 41709.927558898926,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:35,813"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954655.814682,
- "msecs": 814.6820068359375,
- "relativeCreated": 41710.92438697815,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:35,814"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954655.816591,
- "msecs": 816.5910243988037,
- "relativeCreated": 41712.833404541016,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:35,816"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954655.817197,
- "msecs": 817.1970844268799,
- "relativeCreated": 41713.43946456909,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:35,817"
- }
- ],
- "time_consumption": 0.2983863353729248
- }
- ],
- "time_consumption": 1.8172156810760498,
- "time_start": "2023-02-09 15:57:34,298",
- "time_finished": "2023-02-09 15:57:36,115"
- },
- "Power On/ Off test for device and virtual device: shellies/ffw/julian/main_light": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: shellies/ffw/julian/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954656.116253,
- "msecs": 116.25289916992188,
- "relativeCreated": 42012.495279312134,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: shellies/ffw/julian/main_light",
- "asctime": "2023-02-09 15:57:36,116",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954656.1167045,
- "msecs": 116.70446395874023,
- "relativeCreated": 42012.94684410095,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:36,116",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954656.116495,
- "msecs": 116.49489402770996,
- "relativeCreated": 42012.73727416992,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:36,116"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954656.1166103,
- "msecs": 116.61028861999512,
- "relativeCreated": 42012.85266876221,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:36,116"
- }
- ],
- "time_consumption": 9.417533874511719e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954656.4181414,
- "msecs": 418.14136505126953,
- "relativeCreated": 42314.38374519348,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:36,418",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954656.1169088,
- "msecs": 116.90878868103027,
- "relativeCreated": 42013.15116882324,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:36,116"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954656.1174264,
- "msecs": 117.42639541625977,
- "relativeCreated": 42013.66877555847,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:36,117"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954656.1182766,
- "msecs": 118.27659606933594,
- "relativeCreated": 42014.51897621155,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:36,118"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954656.1188688,
- "msecs": 118.86882781982422,
- "relativeCreated": 42015.111207962036,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:36,118"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954656.161559,
- "msecs": 161.5591049194336,
- "relativeCreated": 42057.801485061646,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:36,161"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954656.1622417,
- "msecs": 162.24169731140137,
- "relativeCreated": 42058.48407745361,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:36,162"
- }
- ],
- "time_consumption": 0.25589966773986816
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954656.4187179,
- "msecs": 418.7178611755371,
- "relativeCreated": 42314.96024131775,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:36,418",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954656.4185076,
- "msecs": 418.50757598876953,
- "relativeCreated": 42314.74995613098,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:36,418"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954656.4186242,
- "msecs": 418.6241626739502,
- "relativeCreated": 42314.86654281616,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:36,418"
- }
- ],
- "time_consumption": 9.369850158691406e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954656.4190242,
- "msecs": 419.0242290496826,
- "relativeCreated": 42315.266609191895,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:36,419",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954656.418865,
- "msecs": 418.8649654388428,
- "relativeCreated": 42315.107345581055,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:36,418"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954656.418949,
- "msecs": 418.9488887786865,
- "relativeCreated": 42315.1912689209,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:36,418"
- }
- ],
- "time_consumption": 7.534027099609375e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954656.7202194,
- "msecs": 720.2193737030029,
- "relativeCreated": 42616.461753845215,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:36,720",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954656.419266,
- "msecs": 419.2659854888916,
- "relativeCreated": 42315.5083656311,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/julian/main_light/state and payload false",
- "asctime": "2023-02-09 15:57:36,419"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954656.4202561,
- "msecs": 420.2561378479004,
- "relativeCreated": 42316.49851799011,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:36,420"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954656.421805,
- "msecs": 421.80490493774414,
- "relativeCreated": 42318.047285079956,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/julian/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:57:36,421"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954656.4221458,
- "msecs": 422.1458435058594,
- "relativeCreated": 42318.38822364807,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:36,422"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954656.4230797,
- "msecs": 423.0797290802002,
- "relativeCreated": 42319.32210922241,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:36,423"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954656.4673653,
- "msecs": 467.3652648925781,
- "relativeCreated": 42363.60764503479,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:36,467"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954656.4682314,
- "msecs": 468.2314395904541,
- "relativeCreated": 42364.473819732666,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:36,468"
- }
- ],
- "time_consumption": 0.25198793411254883
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954656.7208252,
- "msecs": 720.8251953125,
- "relativeCreated": 42617.06757545471,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:36,720",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954656.7205865,
- "msecs": 720.5865383148193,
- "relativeCreated": 42616.82891845703,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:36,720"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954656.7207062,
- "msecs": 720.7062244415283,
- "relativeCreated": 42616.94860458374,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:36,720"
- }
- ],
- "time_consumption": 0.00011897087097167969
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954656.7212002,
- "msecs": 721.2002277374268,
- "relativeCreated": 42617.44260787964,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:36,721",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954656.7209773,
- "msecs": 720.9773063659668,
- "relativeCreated": 42617.21968650818,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:36,720"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954656.7211158,
- "msecs": 721.1158275604248,
- "relativeCreated": 42617.35820770264,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:36,721"
- }
- ],
- "time_consumption": 8.440017700195312e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954657.0236878,
- "msecs": 23.68783950805664,
- "relativeCreated": 42919.93021965027,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:37,023",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954656.72141,
- "msecs": 721.4100360870361,
- "relativeCreated": 42617.65241622925,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:36,721"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954656.7219055,
- "msecs": 721.9054698944092,
- "relativeCreated": 42618.14785003662,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/julian/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:36,721"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954656.7227697,
- "msecs": 722.7697372436523,
- "relativeCreated": 42619.012117385864,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:36,722"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.julian.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/julian/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954656.7239015,
- "msecs": 723.9015102386475,
- "relativeCreated": 42620.14389038086,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/julian/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:36,723"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954656.765668,
- "msecs": 765.6679153442383,
- "relativeCreated": 42661.91029548645,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:36,765"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954656.7663367,
- "msecs": 766.3366794586182,
- "relativeCreated": 42662.57905960083,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:36,766"
- }
- ],
- "time_consumption": 0.2573511600494385
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954657.0243,
- "msecs": 24.300098419189453,
- "relativeCreated": 42920.5424785614,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:37,024",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954657.0240564,
- "msecs": 24.056434631347656,
- "relativeCreated": 42920.29881477356,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:37,024"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954657.0241756,
- "msecs": 24.175643920898438,
- "relativeCreated": 42920.41802406311,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:37,024"
- }
- ],
- "time_consumption": 0.00012445449829101562
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954657.0246174,
- "msecs": 24.617433547973633,
- "relativeCreated": 42920.859813690186,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:37,024",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954657.0244558,
- "msecs": 24.455785751342773,
- "relativeCreated": 42920.698165893555,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:37,024"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954657.0245419,
- "msecs": 24.541854858398438,
- "relativeCreated": 42920.78423500061,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:37,024"
- }
- ],
- "time_consumption": 7.557868957519531e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954657.32568,
- "msecs": 325.6800174713135,
- "relativeCreated": 43221.922397613525,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:37,325",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954657.024875,
- "msecs": 24.87492561340332,
- "relativeCreated": 42921.117305755615,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/julian/main_light/state and payload false",
- "asctime": "2023-02-09 15:57:37,024"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.0258079,
- "msecs": 25.807857513427734,
- "relativeCreated": 42922.05023765564,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:37,025"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.0272288,
- "msecs": 27.228832244873047,
- "relativeCreated": 42923.471212387085,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/julian/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:57:37,027"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954657.0275686,
- "msecs": 27.568578720092773,
- "relativeCreated": 42923.810958862305,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/julian/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:37,027"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.julian.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/julian/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.0285223,
- "msecs": 28.522253036499023,
- "relativeCreated": 42924.76463317871,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/julian/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:37,028"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.0718534,
- "msecs": 71.8533992767334,
- "relativeCreated": 42968.095779418945,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:37,071"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.julian.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/julian/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.0724936,
- "msecs": 72.4935531616211,
- "relativeCreated": 42968.73593330383,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/julian/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:37,072"
- }
- ],
- "time_consumption": 0.2531864643096924
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954657.3262603,
- "msecs": 326.2603282928467,
- "relativeCreated": 43222.50270843506,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:37,326",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954657.3260477,
- "msecs": 326.0476589202881,
- "relativeCreated": 43222.2900390625,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:37,326"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954657.3261647,
- "msecs": 326.16472244262695,
- "relativeCreated": 43222.40710258484,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:37,326"
- }
- ],
- "time_consumption": 9.560585021972656e-05
- }
- ],
- "time_consumption": 1.2100074291229248,
- "time_start": "2023-02-09 15:57:36,116",
- "time_finished": "2023-02-09 15:57:37,326"
- },
- "Brightness test for device and virtual device: zigbee/ffw/livingroom/main_light": {
- "name": "__tLogger__",
- "msg": "Brightness test for device and virtual device: zigbee/ffw/livingroom/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 50,
- "funcName": "test_brightness",
- "created": 1675954657.3269413,
- "msecs": 326.94125175476074,
- "relativeCreated": 43223.18363189697,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Brightness test for device and virtual device: zigbee/ffw/livingroom/main_light",
- "asctime": "2023-02-09 15:57:37,326",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 57,
- "funcName": "__test_brightness__",
- "created": 1675954657.629661,
- "msecs": 629.6610832214355,
- "relativeCreated": 43525.90346336365,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:57:37,629",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954657.3272767,
- "msecs": 327.27670669555664,
- "relativeCreated": 43223.51908683777,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:37,327"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954657.3278747,
- "msecs": 327.87466049194336,
- "relativeCreated": 43224.117040634155,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:37,327"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.3287373,
- "msecs": 328.7372589111328,
- "relativeCreated": 43224.979639053345,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:37,328"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.3293607,
- "msecs": 329.3607234954834,
- "relativeCreated": 43225.603103637695,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:37,329"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.3695412,
- "msecs": 369.5411682128906,
- "relativeCreated": 43265.7835483551,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:37,369"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.3701627,
- "msecs": 370.1627254486084,
- "relativeCreated": 43266.40510559082,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:37,370"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.3707075,
- "msecs": 370.70751190185547,
- "relativeCreated": 43266.94989204407,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:37,370"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.371171,
- "msecs": 371.1709976196289,
- "relativeCreated": 43267.41337776184,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:37,371"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.3716297,
- "msecs": 371.6297149658203,
- "relativeCreated": 43267.87209510803,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:37,371"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.372121,
- "msecs": 372.12109565734863,
- "relativeCreated": 43268.36347579956,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:37,372"
- }
- ],
- "time_consumption": 0.2575399875640869
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954657.6302376,
- "msecs": 630.2375793457031,
- "relativeCreated": 43526.479959487915,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:37,630",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954657.630023,
- "msecs": 630.0230026245117,
- "relativeCreated": 43526.26538276672,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:37,630"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954657.6301422,
- "msecs": 630.1422119140625,
- "relativeCreated": 43526.384592056274,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:37,630"
- }
- ],
- "time_consumption": 9.5367431640625e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954657.9314673,
- "msecs": 931.4672946929932,
- "relativeCreated": 43827.709674835205,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:37,931",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954657.6305735,
- "msecs": 630.5735111236572,
- "relativeCreated": 43526.81589126587,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:37,630"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.631592,
- "msecs": 631.5920352935791,
- "relativeCreated": 43527.83441543579,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:37,631"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.633881,
- "msecs": 633.8810920715332,
- "relativeCreated": 43530.123472213745,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:37,633"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.6344767,
- "msecs": 634.4766616821289,
- "relativeCreated": 43530.71904182434,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:37,634"
- }
- ],
- "time_consumption": 0.29699063301086426
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954657.9321084,
- "msecs": 932.1084022521973,
- "relativeCreated": 43828.35078239441,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:37,932",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954657.9318666,
- "msecs": 931.8666458129883,
- "relativeCreated": 43828.1090259552,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:37,931"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954657.9319997,
- "msecs": 931.999683380127,
- "relativeCreated": 43828.24206352234,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:37,931"
- }
- ],
- "time_consumption": 0.0001087188720703125
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954657.932466,
- "msecs": 932.4660301208496,
- "relativeCreated": 43828.70841026306,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:37,932",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954657.932279,
- "msecs": 932.279109954834,
- "relativeCreated": 43828.521490097046,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:37,932"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954657.9323785,
- "msecs": 932.3785305023193,
- "relativeCreated": 43828.62091064453,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:37,932"
- }
- ],
- "time_consumption": 8.749961853027344e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954658.2339947,
- "msecs": 233.994722366333,
- "relativeCreated": 44130.237102508545,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:38,233",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954657.9327807,
- "msecs": 932.7807426452637,
- "relativeCreated": 43829.023122787476,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/livingroom/main_light/brightness and payload 50",
- "asctime": "2023-02-09 15:57:37,932"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.9339035,
- "msecs": 933.9034557342529,
- "relativeCreated": 43830.145835876465,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:37,933"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.9357293,
- "msecs": 935.7292652130127,
- "relativeCreated": 43831.971645355225,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/livingroom/main_light/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:37,935"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954657.9361854,
- "msecs": 936.185359954834,
- "relativeCreated": 43832.427740097046,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:37,936"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.937219,
- "msecs": 937.2189044952393,
- "relativeCreated": 43833.46128463745,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:37,937"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.9801517,
- "msecs": 980.1516532897949,
- "relativeCreated": 43876.39403343201,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:37,980"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954657.9807987,
- "msecs": 980.7987213134766,
- "relativeCreated": 43877.04110145569,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:37,980"
- }
- ],
- "time_consumption": 0.25319600105285645
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954658.2345746,
- "msecs": 234.574556350708,
- "relativeCreated": 44130.81693649292,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:38,234",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954658.23436,
- "msecs": 234.3599796295166,
- "relativeCreated": 44130.60235977173,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:38,234"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954658.2344794,
- "msecs": 234.47942733764648,
- "relativeCreated": 44130.72180747986,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:38,234"
- }
- ],
- "time_consumption": 9.512901306152344e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954658.234913,
- "msecs": 234.91311073303223,
- "relativeCreated": 44131.155490875244,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:38,234",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954658.2347236,
- "msecs": 234.72356796264648,
- "relativeCreated": 44130.96594810486,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:38,234"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954658.234809,
- "msecs": 234.80892181396484,
- "relativeCreated": 44131.05130195618,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:38,234"
- }
- ],
- "time_consumption": 0.00010418891906738281
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954658.5360186,
- "msecs": 536.0186100006104,
- "relativeCreated": 44432.26099014282,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:38,536",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954658.2352183,
- "msecs": 235.21828651428223,
- "relativeCreated": 44131.460666656494,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:38,235"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954658.2362087,
- "msecs": 236.20867729187012,
- "relativeCreated": 44132.45105743408,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:38,236"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954658.2385008,
- "msecs": 238.50083351135254,
- "relativeCreated": 44134.743213653564,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:38,238"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954658.239118,
- "msecs": 239.11809921264648,
- "relativeCreated": 44135.36047935486,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:38,239"
- }
- ],
- "time_consumption": 0.29690051078796387
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954658.5367303,
- "msecs": 536.7302894592285,
- "relativeCreated": 44432.97266960144,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:38,536",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954658.536499,
- "msecs": 536.4990234375,
- "relativeCreated": 44432.74140357971,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:38,536"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954658.5366323,
- "msecs": 536.6322994232178,
- "relativeCreated": 44432.87467956543,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:38,536"
- }
- ],
- "time_consumption": 9.799003601074219e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954658.537103,
- "msecs": 537.1029376983643,
- "relativeCreated": 44433.345317840576,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:38,537",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954658.5368876,
- "msecs": 536.8876457214355,
- "relativeCreated": 44433.13002586365,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:38,536"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954658.536976,
- "msecs": 536.9760990142822,
- "relativeCreated": 44433.218479156494,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:38,536"
- }
- ],
- "time_consumption": 0.00012683868408203125
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954658.838181,
- "msecs": 838.1810188293457,
- "relativeCreated": 44734.42339897156,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:38,838",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954658.5373645,
- "msecs": 537.3644828796387,
- "relativeCreated": 44433.60686302185,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/livingroom/main_light/brightness and payload 50",
- "asctime": "2023-02-09 15:57:38,537"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954658.5383599,
- "msecs": 538.3598804473877,
- "relativeCreated": 44434.6022605896,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:38,538"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954658.5400057,
- "msecs": 540.0056838989258,
- "relativeCreated": 44436.24806404114,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/livingroom/main_light/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:38,540"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954658.5404186,
- "msecs": 540.4186248779297,
- "relativeCreated": 44436.66100502014,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:38,540"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954658.541326,
- "msecs": 541.3260459899902,
- "relativeCreated": 44437.5684261322,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:38,541"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954658.5840871,
- "msecs": 584.0871334075928,
- "relativeCreated": 44480.329513549805,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:38,584"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954658.5847366,
- "msecs": 584.7365856170654,
- "relativeCreated": 44480.97896575928,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:38,584"
- }
- ],
- "time_consumption": 0.2534444332122803
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954658.8387892,
- "msecs": 838.7892246246338,
- "relativeCreated": 44735.031604766846,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:38,838",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954658.8385468,
- "msecs": 838.5467529296875,
- "relativeCreated": 44734.7891330719,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:38,838"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954658.838666,
- "msecs": 838.6659622192383,
- "relativeCreated": 44734.90834236145,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:38,838"
- }
- ],
- "time_consumption": 0.0001232624053955078
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 74,
- "funcName": "__test_brightness__",
- "created": 1675954659.1398425,
- "msecs": 139.84251022338867,
- "relativeCreated": 45036.0848903656,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:57:39,139",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954658.8390126,
- "msecs": 839.012622833252,
- "relativeCreated": 44735.255002975464,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:38,839"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954658.840032,
- "msecs": 840.0321006774902,
- "relativeCreated": 44736.2744808197,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:38,840"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954658.8419948,
- "msecs": 841.9947624206543,
- "relativeCreated": 44738.237142562866,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:38,841"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954658.8425846,
- "msecs": 842.5846099853516,
- "relativeCreated": 44738.82699012756,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:38,842"
- }
- ],
- "time_consumption": 0.2972579002380371
- }
- ],
- "time_consumption": 1.812901258468628,
- "time_start": "2023-02-09 15:57:37,326",
- "time_finished": "2023-02-09 15:57:39,139"
- },
- "Color temperature test for device and virtual device: zigbee/ffw/livingroom/main_light": {
- "name": "__tLogger__",
- "msg": "Color temperature test for device and virtual device: zigbee/ffw/livingroom/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 81,
- "funcName": "test_color_temp",
- "created": 1675954659.1404605,
- "msecs": 140.46049118041992,
- "relativeCreated": 45036.70287132263,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Color temperature test for device and virtual device: zigbee/ffw/livingroom/main_light",
- "asctime": "2023-02-09 15:57:39,140",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 88,
- "funcName": "__test_color_temp__",
- "created": 1675954659.44356,
- "msecs": 443.5598850250244,
- "relativeCreated": 45339.802265167236,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:57:39,443",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954659.1407804,
- "msecs": 140.78044891357422,
- "relativeCreated": 45037.022829055786,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:39,140"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954659.141657,
- "msecs": 141.65711402893066,
- "relativeCreated": 45037.89949417114,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:39,141"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954659.1421933,
- "msecs": 142.19331741333008,
- "relativeCreated": 45038.43569755554,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:39,142"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954659.143154,
- "msecs": 143.15390586853027,
- "relativeCreated": 45039.39628601074,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:39,143"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954659.185573,
- "msecs": 185.57310104370117,
- "relativeCreated": 45081.81548118591,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:39,185"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954659.1862419,
- "msecs": 186.24186515808105,
- "relativeCreated": 45082.48424530029,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:39,186"
- }
- ],
- "time_consumption": 0.25731801986694336
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954659.4441295,
- "msecs": 444.12946701049805,
- "relativeCreated": 45340.37184715271,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:39,444",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954659.4439113,
- "msecs": 443.9113140106201,
- "relativeCreated": 45340.15369415283,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:39,443"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954659.444034,
- "msecs": 444.0340995788574,
- "relativeCreated": 45340.27647972107,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:39,444"
- }
- ],
- "time_consumption": 9.5367431640625e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 94,
- "funcName": "__test_color_temp__",
- "created": 1675954659.7452383,
- "msecs": 745.2383041381836,
- "relativeCreated": 45641.480684280396,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device color temperature to '5'",
- "asctime": "2023-02-09 15:57:39,745",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954659.4444718,
- "msecs": 444.4718360900879,
- "relativeCreated": 45340.7142162323,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:39,444"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954659.4454632,
- "msecs": 445.4631805419922,
- "relativeCreated": 45341.705560684204,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:39,445"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/color_temp",
- "b'8.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954659.4477086,
- "msecs": 447.7086067199707,
- "relativeCreated": 45343.95098686218,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'8.0'",
- "asctime": "2023-02-09 15:57:39,447"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954659.4483006,
- "msecs": 448.3006000518799,
- "relativeCreated": 45344.54298019409,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:39,448"
- }
- ],
- "time_consumption": 0.2969377040863037
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954659.7459142,
- "msecs": 745.9142208099365,
- "relativeCreated": 45642.15660095215,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:39,745",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954659.7456594,
- "msecs": 745.659351348877,
- "relativeCreated": 45641.90173149109,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:39,745"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954659.7458177,
- "msecs": 745.8176612854004,
- "relativeCreated": 45642.06004142761,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:39,745"
- }
- ],
- "time_consumption": 9.655952453613281e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954659.7462525,
- "msecs": 746.2525367736816,
- "relativeCreated": 45642.49491691589,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:39,746",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954659.7460685,
- "msecs": 746.0684776306152,
- "relativeCreated": 45642.31085777283,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:39,746"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954659.7461712,
- "msecs": 746.171236038208,
- "relativeCreated": 45642.41361618042,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:39,746"
- }
- ],
- "time_consumption": 8.130073547363281e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 100,
- "funcName": "__test_color_temp__",
- "created": 1675954660.0484042,
- "msecs": 48.40421676635742,
- "relativeCreated": 45944.64659690857,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device color temperature to '5'",
- "asctime": "2023-02-09 15:57:40,048",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954659.7465208,
- "msecs": 746.5207576751709,
- "relativeCreated": 45642.76313781738,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/livingroom/main_light/color_temp and payload 5",
- "asctime": "2023-02-09 15:57:39,746"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954659.7474682,
- "msecs": 747.4682331085205,
- "relativeCreated": 45643.71061325073,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:57:39,747"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954659.7491274,
- "msecs": 749.1273880004883,
- "relativeCreated": 45645.3697681427,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/livingroom/main_light/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:39,749"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954659.749571,
- "msecs": 749.5710849761963,
- "relativeCreated": 45645.81346511841,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:39,749"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954659.7511103,
- "msecs": 751.110315322876,
- "relativeCreated": 45647.35269546509,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:39,751"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954659.7937121,
- "msecs": 793.7121391296387,
- "relativeCreated": 45689.95451927185,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:39,793"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954659.7943952,
- "msecs": 794.3952083587646,
- "relativeCreated": 45690.63758850098,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:39,794"
- }
- ],
- "time_consumption": 0.2540090084075928
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954660.0490801,
- "msecs": 49.08013343811035,
- "relativeCreated": 45945.32251358032,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:40,049",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954660.0488105,
- "msecs": 48.810482025146484,
- "relativeCreated": 45945.05286216736,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:40,048"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954660.048947,
- "msecs": 48.94709587097168,
- "relativeCreated": 45945.18947601318,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:40,048"
- }
- ],
- "time_consumption": 0.00013303756713867188
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954660.049445,
- "msecs": 49.44491386413574,
- "relativeCreated": 45945.68729400635,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:40,049",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954660.0492582,
- "msecs": 49.25823211669922,
- "relativeCreated": 45945.50061225891,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:40,049"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954660.0493562,
- "msecs": 49.35622215270996,
- "relativeCreated": 45945.59860229492,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:40,049"
- }
- ],
- "time_consumption": 8.869171142578125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 94,
- "funcName": "__test_color_temp__",
- "created": 1675954660.350735,
- "msecs": 350.7349491119385,
- "relativeCreated": 46246.97732925415,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device color temperature to '5'",
- "asctime": "2023-02-09 15:57:40,350",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954660.0497906,
- "msecs": 49.79062080383301,
- "relativeCreated": 45946.033000946045,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:40,049"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954660.0508792,
- "msecs": 50.87924003601074,
- "relativeCreated": 45947.12162017822,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:40,050"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/color_temp",
- "b'8.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954660.0534532,
- "msecs": 53.45320701599121,
- "relativeCreated": 45949.6955871582,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'8.0'",
- "asctime": "2023-02-09 15:57:40,053"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954660.0540786,
- "msecs": 54.07857894897461,
- "relativeCreated": 45950.32095909119,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:40,054"
- }
- ],
- "time_consumption": 0.29665637016296387
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954660.3512957,
- "msecs": 351.29570960998535,
- "relativeCreated": 46247.5380897522,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:40,351",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954660.351086,
- "msecs": 351.085901260376,
- "relativeCreated": 46247.32828140259,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:40,351"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954660.3512022,
- "msecs": 351.20224952697754,
- "relativeCreated": 46247.44462966919,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:40,351"
- }
- ],
- "time_consumption": 9.34600830078125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954660.351632,
- "msecs": 351.63211822509766,
- "relativeCreated": 46247.87449836731,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:40,351",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954660.3514678,
- "msecs": 351.4678478240967,
- "relativeCreated": 46247.71022796631,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:40,351"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954660.3515558,
- "msecs": 351.55582427978516,
- "relativeCreated": 46247.798204422,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:40,351"
- }
- ],
- "time_consumption": 7.62939453125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 100,
- "funcName": "__test_color_temp__",
- "created": 1675954660.6528194,
- "msecs": 652.8193950653076,
- "relativeCreated": 46549.06177520752,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device color temperature to '5'",
- "asctime": "2023-02-09 15:57:40,652",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954660.3518832,
- "msecs": 351.8831729888916,
- "relativeCreated": 46248.1255531311,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/livingroom/main_light/color_temp and payload 5",
- "asctime": "2023-02-09 15:57:40,351"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954660.3528116,
- "msecs": 352.8115749359131,
- "relativeCreated": 46249.053955078125,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:57:40,352"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954660.354333,
- "msecs": 354.33292388916016,
- "relativeCreated": 46250.57530403137,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/livingroom/main_light/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:40,354"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954660.3547368,
- "msecs": 354.7368049621582,
- "relativeCreated": 46250.97918510437,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:40,354"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954660.3556066,
- "msecs": 355.6065559387207,
- "relativeCreated": 46251.84893608093,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:40,355"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954660.4003549,
- "msecs": 400.35486221313477,
- "relativeCreated": 46296.59724235535,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:40,400"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954660.4010189,
- "msecs": 401.0188579559326,
- "relativeCreated": 46297.261238098145,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:40,401"
- }
- ],
- "time_consumption": 0.251800537109375
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954660.653452,
- "msecs": 653.4519195556641,
- "relativeCreated": 46549.694299697876,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:40,653",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954660.6532238,
- "msecs": 653.2237529754639,
- "relativeCreated": 46549.466133117676,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:40,653"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954660.6533518,
- "msecs": 653.3517837524414,
- "relativeCreated": 46549.59416389465,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:40,653"
- }
- ],
- "time_consumption": 0.00010013580322265625
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 105,
- "funcName": "__test_color_temp__",
- "created": 1675954660.9546642,
- "msecs": 954.6642303466797,
- "relativeCreated": 46850.90661048889,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:57:40,954",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954660.653677,
- "msecs": 653.6769866943359,
- "relativeCreated": 46549.91936683655,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:40,653"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954660.6546857,
- "msecs": 654.6857357025146,
- "relativeCreated": 46550.92811584473,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:40,654"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954660.6566057,
- "msecs": 656.6057205200195,
- "relativeCreated": 46552.84810066223,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:40,656"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954660.6572106,
- "msecs": 657.2105884552002,
- "relativeCreated": 46553.45296859741,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:40,657"
- }
- ],
- "time_consumption": 0.2974536418914795
- }
- ],
- "time_consumption": 1.8142037391662598,
- "time_start": "2023-02-09 15:57:39,140",
- "time_finished": "2023-02-09 15:57:40,954"
- },
- "Power On/ Off test for device and virtual device: shellies/ffw/livingroom/main_light": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: shellies/ffw/livingroom/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954660.9553144,
- "msecs": 955.3143978118896,
- "relativeCreated": 46851.5567779541,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: shellies/ffw/livingroom/main_light",
- "asctime": "2023-02-09 15:57:40,955",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954660.9557614,
- "msecs": 955.7614326477051,
- "relativeCreated": 46852.00381278992,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:40,955",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954660.955541,
- "msecs": 955.5408954620361,
- "relativeCreated": 46851.78327560425,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:40,955"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954660.9556568,
- "msecs": 955.6567668914795,
- "relativeCreated": 46851.89914703369,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:40,955"
- }
- ],
- "time_consumption": 0.00010466575622558594
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954661.2582905,
- "msecs": 258.29052925109863,
- "relativeCreated": 47154.53290939331,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:41,258",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954660.955972,
- "msecs": 955.9719562530518,
- "relativeCreated": 46852.214336395264,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:40,955"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954660.956478,
- "msecs": 956.4781188964844,
- "relativeCreated": 46852.720499038696,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:40,956"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954660.9573689,
- "msecs": 957.3688507080078,
- "relativeCreated": 46853.61123085022,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:40,957"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954660.9579425,
- "msecs": 957.9424858093262,
- "relativeCreated": 46854.18486595154,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:40,957"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954661.0015364,
- "msecs": 1.5363693237304688,
- "relativeCreated": 46897.77874946594,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:41,001"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954661.0021844,
- "msecs": 2.1843910217285156,
- "relativeCreated": 46898.42677116394,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:41,002"
- }
- ],
- "time_consumption": 0.2561061382293701
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954661.2588701,
- "msecs": 258.87012481689453,
- "relativeCreated": 47155.11250495911,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:41,258",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954661.2586532,
- "msecs": 258.6531639099121,
- "relativeCreated": 47154.895544052124,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:41,258"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954661.2587745,
- "msecs": 258.7745189666748,
- "relativeCreated": 47155.01689910889,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:41,258"
- }
- ],
- "time_consumption": 9.560585021972656e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954661.2591848,
- "msecs": 259.1848373413086,
- "relativeCreated": 47155.42721748352,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:41,259",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954661.259019,
- "msecs": 259.0188980102539,
- "relativeCreated": 47155.261278152466,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:41,259"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954661.2591069,
- "msecs": 259.1068744659424,
- "relativeCreated": 47155.349254608154,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:41,259"
- }
- ],
- "time_consumption": 7.796287536621094e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954661.5602477,
- "msecs": 560.2476596832275,
- "relativeCreated": 47456.49003982544,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:41,560",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954661.2594285,
- "msecs": 259.4285011291504,
- "relativeCreated": 47155.67088127136,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/livingroom/main_light/state and payload false",
- "asctime": "2023-02-09 15:57:41,259"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954661.2604213,
- "msecs": 260.4212760925293,
- "relativeCreated": 47156.66365623474,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:41,260"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954661.2619655,
- "msecs": 261.9655132293701,
- "relativeCreated": 47158.20789337158,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:57:41,261"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954661.262305,
- "msecs": 262.30502128601074,
- "relativeCreated": 47158.54740142822,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:41,262"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954661.26321,
- "msecs": 263.2100582122803,
- "relativeCreated": 47159.45243835449,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:41,263"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954661.3079102,
- "msecs": 307.9102039337158,
- "relativeCreated": 47204.15258407593,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:41,307"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954661.3085823,
- "msecs": 308.5823059082031,
- "relativeCreated": 47204.824686050415,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:41,308"
- }
- ],
- "time_consumption": 0.2516653537750244
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954661.5608587,
- "msecs": 560.8587265014648,
- "relativeCreated": 47457.10110664368,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:41,560",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954661.5606272,
- "msecs": 560.6272220611572,
- "relativeCreated": 47456.86960220337,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:41,560"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954661.5607617,
- "msecs": 560.7616901397705,
- "relativeCreated": 47457.00407028198,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:41,560"
- }
- ],
- "time_consumption": 9.703636169433594e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954661.5612738,
- "msecs": 561.2738132476807,
- "relativeCreated": 47457.51619338989,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:41,561",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954661.5610754,
- "msecs": 561.0754489898682,
- "relativeCreated": 47457.31782913208,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:41,561"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954661.5611944,
- "msecs": 561.1944198608398,
- "relativeCreated": 47457.43680000305,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:41,561"
- }
- ],
- "time_consumption": 7.939338684082031e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954661.8626397,
- "msecs": 862.6396656036377,
- "relativeCreated": 47758.88204574585,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:41,862",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954661.5614767,
- "msecs": 561.4767074584961,
- "relativeCreated": 47457.71908760071,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:41,561"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954661.561933,
- "msecs": 561.9330406188965,
- "relativeCreated": 47458.17542076111,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/livingroom/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:41,561"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954661.5627785,
- "msecs": 562.7784729003906,
- "relativeCreated": 47459.0208530426,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:41,562"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.livingroom.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/livingroom/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954661.5633726,
- "msecs": 563.3726119995117,
- "relativeCreated": 47459.61499214172,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/livingroom/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:41,563"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954661.6057525,
- "msecs": 605.7524681091309,
- "relativeCreated": 47501.99484825134,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:41,605"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954661.6064708,
- "msecs": 606.4708232879639,
- "relativeCreated": 47502.713203430176,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:41,606"
- }
- ],
- "time_consumption": 0.25616884231567383
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954661.8632216,
- "msecs": 863.2216453552246,
- "relativeCreated": 47759.46402549744,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:41,863",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954661.8630037,
- "msecs": 863.0037307739258,
- "relativeCreated": 47759.24611091614,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:41,863"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954661.8631256,
- "msecs": 863.1255626678467,
- "relativeCreated": 47759.36794281006,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:41,863"
- }
- ],
- "time_consumption": 9.608268737792969e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954661.8635418,
- "msecs": 863.541841506958,
- "relativeCreated": 47759.78422164917,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:41,863",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954661.8633778,
- "msecs": 863.3778095245361,
- "relativeCreated": 47759.62018966675,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:41,863"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954661.8634636,
- "msecs": 863.4636402130127,
- "relativeCreated": 47759.706020355225,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:41,863"
- }
- ],
- "time_consumption": 7.82012939453125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954662.1646035,
- "msecs": 164.60347175598145,
- "relativeCreated": 48060.84585189819,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:42,164",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954661.863786,
- "msecs": 863.785982131958,
- "relativeCreated": 47760.02836227417,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/livingroom/main_light/state and payload false",
- "asctime": "2023-02-09 15:57:41,863"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954661.8647823,
- "msecs": 864.7823333740234,
- "relativeCreated": 47761.024713516235,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:41,864"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954661.866289,
- "msecs": 866.2889003753662,
- "relativeCreated": 47762.53128051758,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:57:41,866"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954661.8667896,
- "msecs": 866.7895793914795,
- "relativeCreated": 47763.03195953369,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/livingroom/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:41,866"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.livingroom.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/livingroom/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954661.8679047,
- "msecs": 867.9046630859375,
- "relativeCreated": 47764.14704322815,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/livingroom/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:41,867"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954661.9118357,
- "msecs": 911.8356704711914,
- "relativeCreated": 47808.0780506134,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:41,911"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.livingroom.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/livingroom/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954661.912488,
- "msecs": 912.4879837036133,
- "relativeCreated": 47808.730363845825,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/livingroom/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:41,912"
- }
- ],
- "time_consumption": 0.25211548805236816
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954662.1652281,
- "msecs": 165.22812843322754,
- "relativeCreated": 48061.47050857544,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:42,165",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954662.1649475,
- "msecs": 164.947509765625,
- "relativeCreated": 48061.18988990784,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:42,164"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954662.1651218,
- "msecs": 165.12179374694824,
- "relativeCreated": 48061.36417388916,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:42,165"
- }
- ],
- "time_consumption": 0.00010633468627929688
- }
- ],
- "time_consumption": 1.209913730621338,
- "time_start": "2023-02-09 15:57:40,955",
- "time_finished": "2023-02-09 15:57:42,165"
- },
- "Brightness test for device and virtual device: zigbee/ffw/sleep/main_light": {
- "name": "__tLogger__",
- "msg": "Brightness test for device and virtual device: zigbee/ffw/sleep/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 50,
- "funcName": "test_brightness",
- "created": 1675954662.1657596,
- "msecs": 165.75956344604492,
- "relativeCreated": 48062.00194358826,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Brightness test for device and virtual device: zigbee/ffw/sleep/main_light",
- "asctime": "2023-02-09 15:57:42,165",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 57,
- "funcName": "__test_brightness__",
- "created": 1675954662.4674263,
- "msecs": 467.4263000488281,
- "relativeCreated": 48363.66868019104,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:57:42,467",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/sleep/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954662.1660259,
- "msecs": 166.02587699890137,
- "relativeCreated": 48062.26825714111,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:42,166"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954662.166552,
- "msecs": 166.55206680297852,
- "relativeCreated": 48062.79444694519,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:42,166"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/sleep/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954662.1673853,
- "msecs": 167.38533973693848,
- "relativeCreated": 48063.62771987915,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:42,167"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954662.1679628,
- "msecs": 167.96278953552246,
- "relativeCreated": 48064.205169677734,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:42,167"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954662.2095842,
- "msecs": 209.58423614501953,
- "relativeCreated": 48105.82661628723,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:42,209"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954662.2102697,
- "msecs": 210.26968955993652,
- "relativeCreated": 48106.51206970215,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:42,210"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954662.210803,
- "msecs": 210.80303192138672,
- "relativeCreated": 48107.0454120636,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:42,210"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954662.21131,
- "msecs": 211.30990982055664,
- "relativeCreated": 48107.55228996277,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:42,211"
- }
- ],
- "time_consumption": 0.2561163902282715
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954662.4680698,
- "msecs": 468.06979179382324,
- "relativeCreated": 48364.312171936035,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:42,468",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954662.4678223,
- "msecs": 467.8223133087158,
- "relativeCreated": 48364.06469345093,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:42,467"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954662.4679585,
- "msecs": 467.9584503173828,
- "relativeCreated": 48364.200830459595,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:42,467"
- }
- ],
- "time_consumption": 0.00011134147644042969
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954662.7692418,
- "msecs": 769.2418098449707,
- "relativeCreated": 48665.48418998718,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:42,769",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954662.4684715,
- "msecs": 468.4715270996094,
- "relativeCreated": 48364.71390724182,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:42,468"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954662.469569,
- "msecs": 469.56896781921387,
- "relativeCreated": 48365.811347961426,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:42,469"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954662.4721022,
- "msecs": 472.10216522216797,
- "relativeCreated": 48368.34454536438,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:42,472"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954662.4727578,
- "msecs": 472.75781631469727,
- "relativeCreated": 48369.00019645691,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:42,472"
- }
- ],
- "time_consumption": 0.29648399353027344
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954662.7698169,
- "msecs": 769.8168754577637,
- "relativeCreated": 48666.059255599976,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:42,769",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954662.7695758,
- "msecs": 769.575834274292,
- "relativeCreated": 48665.818214416504,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:42,769"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954662.7696903,
- "msecs": 769.6902751922607,
- "relativeCreated": 48665.93265533447,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:42,769"
- }
- ],
- "time_consumption": 0.0001266002655029297
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954662.7701342,
- "msecs": 770.1342105865479,
- "relativeCreated": 48666.37659072876,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:42,770",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954662.7699687,
- "msecs": 769.9687480926514,
- "relativeCreated": 48666.21112823486,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:42,769"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954662.7700555,
- "msecs": 770.0555324554443,
- "relativeCreated": 48666.297912597656,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:42,770"
- }
- ],
- "time_consumption": 7.867813110351562e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954663.072267,
- "msecs": 72.26705551147461,
- "relativeCreated": 48968.50943565369,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:43,072",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954662.7703803,
- "msecs": 770.3802585601807,
- "relativeCreated": 48666.62263870239,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/sleep/main_light/brightness and payload 50",
- "asctime": "2023-02-09 15:57:42,770"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954662.7713373,
- "msecs": 771.3372707366943,
- "relativeCreated": 48667.579650878906,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:42,771"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/sleep/main_light/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954662.7728953,
- "msecs": 772.895336151123,
- "relativeCreated": 48669.137716293335,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/sleep/main_light/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:42,772"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954662.773345,
- "msecs": 773.3449935913086,
- "relativeCreated": 48669.58737373352,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:42,773"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954662.7742448,
- "msecs": 774.2447853088379,
- "relativeCreated": 48670.48716545105,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:42,774"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954662.8175902,
- "msecs": 817.5902366638184,
- "relativeCreated": 48713.83261680603,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:42,817"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954662.8182333,
- "msecs": 818.2332515716553,
- "relativeCreated": 48714.47563171387,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:42,818"
- }
- ],
- "time_consumption": 0.25403380393981934
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954663.0729182,
- "msecs": 72.91817665100098,
- "relativeCreated": 48969.16055679321,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:43,072",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954663.0726752,
- "msecs": 72.67522811889648,
- "relativeCreated": 48968.91760826111,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:43,072"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954663.0728095,
- "msecs": 72.80945777893066,
- "relativeCreated": 48969.05183792114,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:43,072"
- }
- ],
- "time_consumption": 0.0001087188720703125
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954663.0733585,
- "msecs": 73.35853576660156,
- "relativeCreated": 48969.60091590881,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:43,073",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954663.0731313,
- "msecs": 73.13132286071777,
- "relativeCreated": 48969.37370300293,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:43,073"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954663.0732348,
- "msecs": 73.23479652404785,
- "relativeCreated": 48969.47717666626,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:43,073"
- }
- ],
- "time_consumption": 0.00012373924255371094
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954663.374604,
- "msecs": 374.6039867401123,
- "relativeCreated": 49270.846366882324,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:43,374",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954663.0737076,
- "msecs": 73.70758056640625,
- "relativeCreated": 48969.94996070862,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:43,073"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954663.0747826,
- "msecs": 74.7826099395752,
- "relativeCreated": 48971.02499008179,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:43,074"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954663.0773191,
- "msecs": 77.31914520263672,
- "relativeCreated": 48973.56152534485,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:43,077"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954663.0779865,
- "msecs": 77.98647880554199,
- "relativeCreated": 48974.228858947754,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:43,077"
- }
- ],
- "time_consumption": 0.2966175079345703
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954663.3751895,
- "msecs": 375.18954277038574,
- "relativeCreated": 49271.4319229126,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:43,375",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954663.3749518,
- "msecs": 374.9518394470215,
- "relativeCreated": 49271.19421958923,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:43,374"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954663.3750932,
- "msecs": 375.0932216644287,
- "relativeCreated": 49271.33560180664,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:43,375"
- }
- ],
- "time_consumption": 9.632110595703125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954663.3755188,
- "msecs": 375.518798828125,
- "relativeCreated": 49271.76117897034,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:43,375",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954663.3753417,
- "msecs": 375.34165382385254,
- "relativeCreated": 49271.584033966064,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:43,375"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954663.3754394,
- "msecs": 375.4394054412842,
- "relativeCreated": 49271.681785583496,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:43,375"
- }
- ],
- "time_consumption": 7.939338684082031e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954663.677619,
- "msecs": 677.6189804077148,
- "relativeCreated": 49573.86136054993,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:43,677",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954663.375777,
- "msecs": 375.777006149292,
- "relativeCreated": 49272.019386291504,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/sleep/main_light/brightness and payload 50",
- "asctime": "2023-02-09 15:57:43,375"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954663.3767295,
- "msecs": 376.72948837280273,
- "relativeCreated": 49272.971868515015,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:43,376"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/sleep/main_light/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954663.378258,
- "msecs": 378.25798988342285,
- "relativeCreated": 49274.500370025635,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/sleep/main_light/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:43,378"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954663.3786764,
- "msecs": 378.6764144897461,
- "relativeCreated": 49274.91879463196,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:43,378"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954663.379529,
- "msecs": 379.5289993286133,
- "relativeCreated": 49275.771379470825,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:43,379"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954663.424203,
- "msecs": 424.20291900634766,
- "relativeCreated": 49320.44529914856,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:43,424"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954663.4248881,
- "msecs": 424.88813400268555,
- "relativeCreated": 49321.1305141449,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:43,424"
- }
- ],
- "time_consumption": 0.2527308464050293
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954663.6781957,
- "msecs": 678.1957149505615,
- "relativeCreated": 49574.43809509277,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:43,678",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954663.677983,
- "msecs": 677.9830455780029,
- "relativeCreated": 49574.225425720215,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:43,677"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954663.6781015,
- "msecs": 678.1015396118164,
- "relativeCreated": 49574.34391975403,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:43,678"
- }
- ],
- "time_consumption": 9.417533874511719e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 74,
- "funcName": "__test_brightness__",
- "created": 1675954663.979424,
- "msecs": 979.423999786377,
- "relativeCreated": 49875.66637992859,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:57:43,979",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/sleep/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954663.6784158,
- "msecs": 678.4157752990723,
- "relativeCreated": 49574.658155441284,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:43,678"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/sleep/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954663.6794422,
- "msecs": 679.4421672821045,
- "relativeCreated": 49575.68454742432,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:43,679"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954663.6814613,
- "msecs": 681.4613342285156,
- "relativeCreated": 49577.70371437073,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:43,681"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954663.6820414,
- "msecs": 682.0414066314697,
- "relativeCreated": 49578.28378677368,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:43,682"
- }
- ],
- "time_consumption": 0.2973825931549072
- }
- ],
- "time_consumption": 1.813664436340332,
- "time_start": "2023-02-09 15:57:42,165",
- "time_finished": "2023-02-09 15:57:43,979"
- },
- "Power On/ Off test for device and virtual device: shellies/ffw/sleep/main_light": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: shellies/ffw/sleep/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954663.9800875,
- "msecs": 980.0875186920166,
- "relativeCreated": 49876.32989883423,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: shellies/ffw/sleep/main_light",
- "asctime": "2023-02-09 15:57:43,980",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954663.980549,
- "msecs": 980.5490970611572,
- "relativeCreated": 49876.79147720337,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:43,980",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954663.9803307,
- "msecs": 980.3307056427002,
- "relativeCreated": 49876.57308578491,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:43,980"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954663.9804525,
- "msecs": 980.4525375366211,
- "relativeCreated": 49876.69491767883,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:43,980"
- }
- ],
- "time_consumption": 9.655952453613281e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954664.2819183,
- "msecs": 281.9182872772217,
- "relativeCreated": 50178.16066741943,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:44,281",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/sleep/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954663.9807584,
- "msecs": 980.7584285736084,
- "relativeCreated": 49877.00080871582,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:43,980"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954663.9812775,
- "msecs": 981.2774658203125,
- "relativeCreated": 49877.519845962524,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:43,981"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/sleep/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954663.9821286,
- "msecs": 982.1286201477051,
- "relativeCreated": 49878.37100028992,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:43,982"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954663.9827328,
- "msecs": 982.7327728271484,
- "relativeCreated": 49878.97515296936,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:43,982"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954664.0254335,
- "msecs": 25.43354034423828,
- "relativeCreated": 49921.67592048645,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:44,025"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954664.0259104,
- "msecs": 25.910377502441406,
- "relativeCreated": 49922.15275764465,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:44,025"
- }
- ],
- "time_consumption": 0.2560079097747803
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954664.2825127,
- "msecs": 282.5126647949219,
- "relativeCreated": 50178.755044937134,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:44,282",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954664.2822897,
- "msecs": 282.2897434234619,
- "relativeCreated": 50178.532123565674,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:44,282"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954664.2824163,
- "msecs": 282.41634368896484,
- "relativeCreated": 50178.65872383118,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:44,282"
- }
- ],
- "time_consumption": 9.632110595703125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954664.2828352,
- "msecs": 282.8352451324463,
- "relativeCreated": 50179.07762527466,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:44,282",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954664.2826698,
- "msecs": 282.6697826385498,
- "relativeCreated": 50178.91216278076,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:44,282"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954664.2827566,
- "msecs": 282.7565670013428,
- "relativeCreated": 50178.998947143555,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:44,282"
- }
- ],
- "time_consumption": 7.867813110351562e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954664.583961,
- "msecs": 583.961009979248,
- "relativeCreated": 50480.20339012146,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:44,583",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954664.2831035,
- "msecs": 283.10346603393555,
- "relativeCreated": 50179.34584617615,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/sleep/main_light/state and payload false",
- "asctime": "2023-02-09 15:57:44,283"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954664.2840521,
- "msecs": 284.05213356018066,
- "relativeCreated": 50180.29451370239,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:44,284"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/sleep/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954664.285609,
- "msecs": 285.60900688171387,
- "relativeCreated": 50181.851387023926,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/sleep/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:57:44,285"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/sleep/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954664.2859588,
- "msecs": 285.95876693725586,
- "relativeCreated": 50182.20114707947,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:44,285"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/sleep/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954664.2868707,
- "msecs": 286.87071800231934,
- "relativeCreated": 50183.11309814453,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:44,286"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954664.3328168,
- "msecs": 332.81683921813965,
- "relativeCreated": 50229.05921936035,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:44,332"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954664.3360343,
- "msecs": 336.03429794311523,
- "relativeCreated": 50232.27667808533,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:44,336"
- }
- ],
- "time_consumption": 0.2479267120361328
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954664.5845861,
- "msecs": 584.5861434936523,
- "relativeCreated": 50480.828523635864,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:44,584",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954664.584309,
- "msecs": 584.3091011047363,
- "relativeCreated": 50480.55148124695,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:44,584"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954664.584482,
- "msecs": 584.481954574585,
- "relativeCreated": 50480.7243347168,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:44,584"
- }
- ],
- "time_consumption": 0.00010418891906738281
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954664.5849035,
- "msecs": 584.9034786224365,
- "relativeCreated": 50481.14585876465,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:44,584",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954664.5847406,
- "msecs": 584.7406387329102,
- "relativeCreated": 50480.98301887512,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:44,584"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954664.584827,
- "msecs": 584.8269462585449,
- "relativeCreated": 50481.06932640076,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:44,584"
- }
- ],
- "time_consumption": 7.653236389160156e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954664.887459,
- "msecs": 887.4590396881104,
- "relativeCreated": 50783.70141983032,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:44,887",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/sleep/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954664.5851314,
- "msecs": 585.1314067840576,
- "relativeCreated": 50481.37378692627,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:44,585"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/sleep/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954664.5856442,
- "msecs": 585.6442451477051,
- "relativeCreated": 50481.88662528992,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/ffw/sleep/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:44,585"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/sleep/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954664.5865304,
- "msecs": 586.5304470062256,
- "relativeCreated": 50482.77282714844,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:44,586"
- },
- {
- "name": "smart_brain.mqtt.zigbee.ffw.sleep.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/ffw/sleep/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954664.5871325,
- "msecs": 587.132453918457,
- "relativeCreated": 50483.37483406067,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/ffw/sleep/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:44,587"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954664.6298888,
- "msecs": 629.8887729644775,
- "relativeCreated": 50526.13115310669,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:44,629"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954664.630593,
- "msecs": 630.5930614471436,
- "relativeCreated": 50526.835441589355,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:44,630"
- }
- ],
- "time_consumption": 0.2568659782409668
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954664.888038,
- "msecs": 888.037919998169,
- "relativeCreated": 50784.28030014038,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:44,888",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954664.8878253,
- "msecs": 887.8252506256104,
- "relativeCreated": 50784.06763076782,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:44,887"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954664.887944,
- "msecs": 887.9439830780029,
- "relativeCreated": 50784.186363220215,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:44,887"
- }
- ],
- "time_consumption": 9.393692016601562e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954664.8883512,
- "msecs": 888.3512020111084,
- "relativeCreated": 50784.59358215332,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:44,888",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954664.888189,
- "msecs": 888.1890773773193,
- "relativeCreated": 50784.43145751953,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:44,888"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954664.888275,
- "msecs": 888.2749080657959,
- "relativeCreated": 50784.51728820801,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:44,888"
- }
- ],
- "time_consumption": 7.62939453125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954665.190455,
- "msecs": 190.45495986938477,
- "relativeCreated": 51086.6973400116,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:45,190",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954664.8885963,
- "msecs": 888.5962963104248,
- "relativeCreated": 50784.83867645264,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/ffw/sleep/main_light/state and payload false",
- "asctime": "2023-02-09 15:57:44,888"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954664.8895347,
- "msecs": 889.5347118377686,
- "relativeCreated": 50785.77709197998,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:44,889"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/sleep/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954664.8909504,
- "msecs": 890.9504413604736,
- "relativeCreated": 50787.192821502686,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/sleep/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:57:44,890"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/ffw/sleep/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954664.8912988,
- "msecs": 891.298770904541,
- "relativeCreated": 50787.54115104675,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/ffw/sleep/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:44,891"
- },
- {
- "name": "smart_brain.mqtt.shellies.ffw.sleep.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/ffw/sleep/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954664.8922102,
- "msecs": 892.2102451324463,
- "relativeCreated": 50788.45262527466,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/ffw/sleep/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:44,892"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954664.9358418,
- "msecs": 935.8417987823486,
- "relativeCreated": 50832.08417892456,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:44,935"
- },
- {
- "name": "smart_brain.mqtt.videv.ffw.sleep.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/ffw/sleep/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954664.936522,
- "msecs": 936.5220069885254,
- "relativeCreated": 50832.76438713074,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/ffw/sleep/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:44,936"
- }
- ],
- "time_consumption": 0.2539329528808594
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954665.1911125,
- "msecs": 191.11251831054688,
- "relativeCreated": 51087.35489845276,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:45,191",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954665.1908684,
- "msecs": 190.86837768554688,
- "relativeCreated": 51087.11075782776,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:45,190"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954665.1910064,
- "msecs": 191.00642204284668,
- "relativeCreated": 51087.24880218506,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:45,191"
- }
- ],
- "time_consumption": 0.00010609626770019531
- }
- ],
- "time_consumption": 1.2110249996185303,
- "time_start": "2023-02-09 15:57:43,980",
- "time_finished": "2023-02-09 15:57:45,191"
- },
- "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/1": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/1",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954665.1916285,
- "msecs": 191.62845611572266,
- "relativeCreated": 51087.870836257935,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/1",
- "asctime": "2023-02-09 15:57:45,191",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954665.1920483,
- "msecs": 192.0483112335205,
- "relativeCreated": 51088.29069137573,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:45,192",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954665.1918433,
- "msecs": 191.84327125549316,
- "relativeCreated": 51088.085651397705,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:45,191"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954665.1919506,
- "msecs": 191.95055961608887,
- "relativeCreated": 51088.1929397583,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:45,191"
- }
- ],
- "time_consumption": 9.775161743164062e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954665.4933174,
- "msecs": 493.3173656463623,
- "relativeCreated": 51389.559745788574,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:45,493",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954665.1923182,
- "msecs": 192.31820106506348,
- "relativeCreated": 51088.560581207275,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true",
- "asctime": "2023-02-09 15:57:45,192"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954665.1933463,
- "msecs": 193.3462619781494,
- "relativeCreated": 51089.58864212036,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true'",
- "asctime": "2023-02-09 15:57:45,193"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954665.1980596,
- "msecs": 198.0595588684082,
- "relativeCreated": 51094.30193901062,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'true'",
- "asctime": "2023-02-09 15:57:45,198"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954665.1986673,
- "msecs": 198.6672878265381,
- "relativeCreated": 51094.90966796875,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:45,198"
- }
- ],
- "time_consumption": 0.2946500778198242
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954665.4938996,
- "msecs": 493.8995838165283,
- "relativeCreated": 51390.14196395874,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:45,493",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954665.4936805,
- "msecs": 493.680477142334,
- "relativeCreated": 51389.922857284546,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:45,493"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954665.4938033,
- "msecs": 493.8032627105713,
- "relativeCreated": 51390.04564285278,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:45,493"
- }
- ],
- "time_consumption": 9.632110595703125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954665.494213,
- "msecs": 494.2131042480469,
- "relativeCreated": 51390.45548439026,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:45,494",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954665.4940498,
- "msecs": 494.0497875213623,
- "relativeCreated": 51390.292167663574,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:45,494"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954665.4941359,
- "msecs": 494.13585662841797,
- "relativeCreated": 51390.37823677063,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:45,494"
- }
- ],
- "time_consumption": 7.724761962890625e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954665.7963507,
- "msecs": 796.3507175445557,
- "relativeCreated": 51692.59309768677,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:45,796",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954665.4944875,
- "msecs": 494.4875240325928,
- "relativeCreated": 51390.729904174805,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/amplifier/state and payload false",
- "asctime": "2023-02-09 15:57:45,494"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954665.4954834,
- "msecs": 495.4833984375,
- "relativeCreated": 51391.72577857971,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'",
- "asctime": "2023-02-09 15:57:45,495"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1/set",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954665.4973228,
- "msecs": 497.32279777526855,
- "relativeCreated": 51393.56517791748,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false'",
- "asctime": "2023-02-09 15:57:45,497"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954665.4976294,
- "msecs": 497.62940406799316,
- "relativeCreated": 51393.871784210205,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false",
- "asctime": "2023-02-09 15:57:45,497"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954665.4985251,
- "msecs": 498.52514266967773,
- "relativeCreated": 51394.76752281189,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false'",
- "asctime": "2023-02-09 15:57:45,498"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954665.5870144,
- "msecs": 587.0144367218018,
- "relativeCreated": 51483.256816864014,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'",
- "asctime": "2023-02-09 15:57:45,587"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954665.5877829,
- "msecs": 587.7828598022461,
- "relativeCreated": 51484.02523994446,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:45,587"
- }
- ],
- "time_consumption": 0.20856785774230957
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954665.7970157,
- "msecs": 797.0156669616699,
- "relativeCreated": 51693.25804710388,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:45,797",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954665.796768,
- "msecs": 796.7679500579834,
- "relativeCreated": 51693.010330200195,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:45,796"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954665.7969072,
- "msecs": 796.9071865081787,
- "relativeCreated": 51693.14956665039,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:45,796"
- }
- ],
- "time_consumption": 0.00010848045349121094
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954665.797459,
- "msecs": 797.4588871002197,
- "relativeCreated": 51693.70126724243,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:45,797",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954665.797237,
- "msecs": 797.2369194030762,
- "relativeCreated": 51693.47929954529,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:45,797"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954665.7973688,
- "msecs": 797.3687648773193,
- "relativeCreated": 51693.61114501953,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:45,797"
- }
- ],
- "time_consumption": 9.012222290039062e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954666.0985842,
- "msecs": 98.58417510986328,
- "relativeCreated": 51994.826555252075,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:46,098",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954665.797728,
- "msecs": 797.7280616760254,
- "relativeCreated": 51693.97044181824,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true",
- "asctime": "2023-02-09 15:57:45,797"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954665.798755,
- "msecs": 798.7549304962158,
- "relativeCreated": 51694.99731063843,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true'",
- "asctime": "2023-02-09 15:57:45,798"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954665.8459475,
- "msecs": 845.9475040435791,
- "relativeCreated": 51742.18988418579,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'true'",
- "asctime": "2023-02-09 15:57:45,845"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954665.8466146,
- "msecs": 846.6145992279053,
- "relativeCreated": 51742.85697937012,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:45,846"
- }
- ],
- "time_consumption": 0.251969575881958
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954666.0992205,
- "msecs": 99.22051429748535,
- "relativeCreated": 51995.4628944397,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:46,099",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954666.0989738,
- "msecs": 98.97375106811523,
- "relativeCreated": 51995.21613121033,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:46,098"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954666.0991108,
- "msecs": 99.11084175109863,
- "relativeCreated": 51995.35322189331,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:46,099"
- }
- ],
- "time_consumption": 0.00010967254638671875
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954666.0996234,
- "msecs": 99.62344169616699,
- "relativeCreated": 51995.86582183838,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:46,099",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954666.0994008,
- "msecs": 99.40075874328613,
- "relativeCreated": 51995.6431388855,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:46,099"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954666.0995023,
- "msecs": 99.5023250579834,
- "relativeCreated": 51995.744705200195,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:46,099"
- }
- ],
- "time_consumption": 0.00012111663818359375
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954666.400868,
- "msecs": 400.8679389953613,
- "relativeCreated": 52297.11031913757,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:46,400",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954666.0999024,
- "msecs": 99.90239143371582,
- "relativeCreated": 51996.14477157593,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/amplifier/state and payload false",
- "asctime": "2023-02-09 15:57:46,099"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.1009414,
- "msecs": 100.94141960144043,
- "relativeCreated": 51997.18379974365,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'",
- "asctime": "2023-02-09 15:57:46,100"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1/set",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.1024055,
- "msecs": 102.40554809570312,
- "relativeCreated": 51998.647928237915,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false'",
- "asctime": "2023-02-09 15:57:46,102"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954666.1026962,
- "msecs": 102.69618034362793,
- "relativeCreated": 51998.93856048584,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false",
- "asctime": "2023-02-09 15:57:46,102"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.1035852,
- "msecs": 103.58524322509766,
- "relativeCreated": 51999.82762336731,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false'",
- "asctime": "2023-02-09 15:57:46,103"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.1909132,
- "msecs": 190.91320037841797,
- "relativeCreated": 52087.15558052063,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'",
- "asctime": "2023-02-09 15:57:46,190"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.1916332,
- "msecs": 191.6332244873047,
- "relativeCreated": 52087.87560462952,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:46,191"
- }
- ],
- "time_consumption": 0.20923471450805664
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954666.4014933,
- "msecs": 401.4933109283447,
- "relativeCreated": 52297.73569107056,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:46,401",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954666.4012756,
- "msecs": 401.275634765625,
- "relativeCreated": 52297.51801490784,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:46,401"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954666.4013994,
- "msecs": 401.3993740081787,
- "relativeCreated": 52297.64175415039,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:46,401"
- }
- ],
- "time_consumption": 9.393692016601562e-05
- }
- ],
- "time_consumption": 1.209864854812622,
- "time_start": "2023-02-09 15:57:45,191",
- "time_finished": "2023-02-09 15:57:46,401"
- },
- "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/3": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/3",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954666.4019856,
- "msecs": 401.98564529418945,
- "relativeCreated": 52298.2280254364,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/3",
- "asctime": "2023-02-09 15:57:46,401",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954666.4023592,
- "msecs": 402.3592472076416,
- "relativeCreated": 52298.60162734985,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:46,402",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954666.402185,
- "msecs": 402.18496322631836,
- "relativeCreated": 52298.42734336853,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:46,402"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954666.4022787,
- "msecs": 402.2786617279053,
- "relativeCreated": 52298.52104187012,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:46,402"
- }
- ],
- "time_consumption": 8.058547973632812e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954666.7044501,
- "msecs": 704.4501304626465,
- "relativeCreated": 52600.69251060486,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:46,704",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/3",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954666.402601,
- "msecs": 402.6010036468506,
- "relativeCreated": 52298.84338378906,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload true",
- "asctime": "2023-02-09 15:57:46,402"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/3",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.4035335,
- "msecs": 403.5334587097168,
- "relativeCreated": 52299.77583885193,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'true'",
- "asctime": "2023-02-09 15:57:46,403"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1/set",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.4059124,
- "msecs": 405.9123992919922,
- "relativeCreated": 52302.154779434204,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'true'",
- "asctime": "2023-02-09 15:57:46,405"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954666.4062147,
- "msecs": 406.21471405029297,
- "relativeCreated": 52302.457094192505,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true",
- "asctime": "2023-02-09 15:57:46,406"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/cd_player/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.4068065,
- "msecs": 406.80646896362305,
- "relativeCreated": 52303.048849105835,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'true'",
- "asctime": "2023-02-09 15:57:46,406"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/cd_player/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.407449,
- "msecs": 407.44900703430176,
- "relativeCreated": 52303.691387176514,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/cd_player/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:46,407"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.4079447,
- "msecs": 407.9446792602539,
- "relativeCreated": 52304.187059402466,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true'",
- "asctime": "2023-02-09 15:57:46,407"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.49802,
- "msecs": 498.0199337005615,
- "relativeCreated": 52394.26231384277,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'true'",
- "asctime": "2023-02-09 15:57:46,498"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.498761,
- "msecs": 498.7609386444092,
- "relativeCreated": 52395.00331878662,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:46,498"
- }
- ],
- "time_consumption": 0.2056891918182373
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954666.7050366,
- "msecs": 705.0366401672363,
- "relativeCreated": 52601.27902030945,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:46,705",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954666.7048204,
- "msecs": 704.8203945159912,
- "relativeCreated": 52601.0627746582,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:46,704"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954666.7049415,
- "msecs": 704.9415111541748,
- "relativeCreated": 52601.18389129639,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:46,704"
- }
- ],
- "time_consumption": 9.512901306152344e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954666.705417,
- "msecs": 705.4169178009033,
- "relativeCreated": 52601.659297943115,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:46,705",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954666.7052228,
- "msecs": 705.2228450775146,
- "relativeCreated": 52601.46522521973,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:46,705"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954666.7053108,
- "msecs": 705.3108215332031,
- "relativeCreated": 52601.553201675415,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:46,705"
- }
- ],
- "time_consumption": 0.00010609626770019531
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954667.0063646,
- "msecs": 6.364583969116211,
- "relativeCreated": 52902.60696411133,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:47,006",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/cd_player/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954666.7056687,
- "msecs": 705.6686878204346,
- "relativeCreated": 52601.91106796265,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/cd_player/state and payload false",
- "asctime": "2023-02-09 15:57:46,705"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/cd_player/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.7066495,
- "msecs": 706.6495418548584,
- "relativeCreated": 52602.89192199707,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'false'",
- "asctime": "2023-02-09 15:57:46,706"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/3/set",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.7082005,
- "msecs": 708.2004547119141,
- "relativeCreated": 52604.442834854126,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3/set and payload b'false'",
- "asctime": "2023-02-09 15:57:46,708"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/3",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954666.7084987,
- "msecs": 708.4987163543701,
- "relativeCreated": 52604.74109649658,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload false",
- "asctime": "2023-02-09 15:57:46,708"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/3",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.7094333,
- "msecs": 709.4333171844482,
- "relativeCreated": 52605.67569732666,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'false'",
- "asctime": "2023-02-09 15:57:46,709"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1/set",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.7534988,
- "msecs": 753.4987926483154,
- "relativeCreated": 52649.74117279053,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false'",
- "asctime": "2023-02-09 15:57:46,753"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954666.7538662,
- "msecs": 753.8661956787109,
- "relativeCreated": 52650.10857582092,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false",
- "asctime": "2023-02-09 15:57:46,753"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/cd_player/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.7544615,
- "msecs": 754.4615268707275,
- "relativeCreated": 52650.70390701294,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'false'",
- "asctime": "2023-02-09 15:57:46,754"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/cd_player/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.7550905,
- "msecs": 755.0904750823975,
- "relativeCreated": 52651.33285522461,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/cd_player/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:46,755"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.7555842,
- "msecs": 755.5842399597168,
- "relativeCreated": 52651.82662010193,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false'",
- "asctime": "2023-02-09 15:57:46,755"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.8429496,
- "msecs": 842.949628829956,
- "relativeCreated": 52739.19200897217,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'",
- "asctime": "2023-02-09 15:57:46,842"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954666.8436737,
- "msecs": 843.6737060546875,
- "relativeCreated": 52739.9160861969,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:46,843"
- }
- ],
- "time_consumption": 0.1626908779144287
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954667.0069597,
- "msecs": 6.959676742553711,
- "relativeCreated": 52903.202056884766,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:47,006",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954667.006736,
- "msecs": 6.736040115356445,
- "relativeCreated": 52902.97842025757,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:47,006"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954667.0068607,
- "msecs": 6.8607330322265625,
- "relativeCreated": 52903.10311317444,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:47,006"
- }
- ],
- "time_consumption": 9.894371032714844e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954667.0073326,
- "msecs": 7.332563400268555,
- "relativeCreated": 52903.57494354248,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:47,007",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954667.00715,
- "msecs": 7.149934768676758,
- "relativeCreated": 52903.39231491089,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:47,007"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954667.007241,
- "msecs": 7.241010665893555,
- "relativeCreated": 52903.483390808105,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:47,007"
- }
- ],
- "time_consumption": 9.1552734375e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954667.309425,
- "msecs": 309.42511558532715,
- "relativeCreated": 53205.66749572754,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:47,309",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/3",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954667.0075727,
- "msecs": 7.572650909423828,
- "relativeCreated": 52903.815031051636,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload true",
- "asctime": "2023-02-09 15:57:47,007"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/3",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.0085402,
- "msecs": 8.540153503417969,
- "relativeCreated": 52904.78253364563,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'true'",
- "asctime": "2023-02-09 15:57:47,008"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1/set",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.0109293,
- "msecs": 10.929346084594727,
- "relativeCreated": 52907.17172622681,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'true'",
- "asctime": "2023-02-09 15:57:47,010"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954667.0112345,
- "msecs": 11.234521865844727,
- "relativeCreated": 52907.47690200806,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true",
- "asctime": "2023-02-09 15:57:47,011"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/cd_player/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.0118215,
- "msecs": 11.821508407592773,
- "relativeCreated": 52908.063888549805,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'true'",
- "asctime": "2023-02-09 15:57:47,011"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/cd_player/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.0128179,
- "msecs": 12.817859649658203,
- "relativeCreated": 52909.06023979187,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/cd_player/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:47,012"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.0136235,
- "msecs": 13.623476028442383,
- "relativeCreated": 52909.865856170654,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true'",
- "asctime": "2023-02-09 15:57:47,013"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.102071,
- "msecs": 102.07104682922363,
- "relativeCreated": 52998.313426971436,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'true'",
- "asctime": "2023-02-09 15:57:47,102"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.1027887,
- "msecs": 102.78868675231934,
- "relativeCreated": 52999.03106689453,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:47,102"
- }
- ],
- "time_consumption": 0.2066364288330078
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954667.3100033,
- "msecs": 310.00328063964844,
- "relativeCreated": 53206.24566078186,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:47,310",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954667.3097897,
- "msecs": 309.78965759277344,
- "relativeCreated": 53206.032037734985,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:47,309"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954667.309907,
- "msecs": 309.9069595336914,
- "relativeCreated": 53206.1493396759,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:47,309"
- }
- ],
- "time_consumption": 9.632110595703125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954667.3103204,
- "msecs": 310.3203773498535,
- "relativeCreated": 53206.562757492065,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:47,310",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954667.3101547,
- "msecs": 310.15467643737793,
- "relativeCreated": 53206.39705657959,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:47,310"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954667.3102417,
- "msecs": 310.24169921875,
- "relativeCreated": 53206.48407936096,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:47,310"
- }
- ],
- "time_consumption": 7.867813110351562e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954667.6124744,
- "msecs": 612.4744415283203,
- "relativeCreated": 53508.71682167053,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:47,612",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/cd_player/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954667.3105621,
- "msecs": 310.5621337890625,
- "relativeCreated": 53206.804513931274,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/cd_player/state and payload false",
- "asctime": "2023-02-09 15:57:47,310"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/cd_player/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.311569,
- "msecs": 311.5689754486084,
- "relativeCreated": 53207.81135559082,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'false'",
- "asctime": "2023-02-09 15:57:47,311"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/3/set",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.3130207,
- "msecs": 313.0207061767578,
- "relativeCreated": 53209.26308631897,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3/set and payload b'false'",
- "asctime": "2023-02-09 15:57:47,313"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/3",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954667.3133533,
- "msecs": 313.3533000946045,
- "relativeCreated": 53209.59568023682,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload false",
- "asctime": "2023-02-09 15:57:47,313"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/3",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.3142736,
- "msecs": 314.2735958099365,
- "relativeCreated": 53210.51597595215,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'false'",
- "asctime": "2023-02-09 15:57:47,314"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1/set",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.357517,
- "msecs": 357.5170040130615,
- "relativeCreated": 53253.75938415527,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false'",
- "asctime": "2023-02-09 15:57:47,357"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954667.3578846,
- "msecs": 357.88464546203613,
- "relativeCreated": 53254.12702560425,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false",
- "asctime": "2023-02-09 15:57:47,357"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/cd_player/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.3584816,
- "msecs": 358.48164558410645,
- "relativeCreated": 53254.72402572632,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'false'",
- "asctime": "2023-02-09 15:57:47,358"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/cd_player/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.359139,
- "msecs": 359.13896560668945,
- "relativeCreated": 53255.3813457489,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/cd_player/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:47,359"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.3596358,
- "msecs": 359.6358299255371,
- "relativeCreated": 53255.87821006775,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false'",
- "asctime": "2023-02-09 15:57:47,359"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.446045,
- "msecs": 446.044921875,
- "relativeCreated": 53342.28730201721,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'",
- "asctime": "2023-02-09 15:57:47,446"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.4467342,
- "msecs": 446.7341899871826,
- "relativeCreated": 53342.976570129395,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:47,446"
- }
- ],
- "time_consumption": 0.1657402515411377
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954667.6131723,
- "msecs": 613.1722927093506,
- "relativeCreated": 53509.41467285156,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:47,613",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954667.6128745,
- "msecs": 612.8745079040527,
- "relativeCreated": 53509.116888046265,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:47,612"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954667.6130092,
- "msecs": 613.0092144012451,
- "relativeCreated": 53509.25159454346,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:47,613"
- }
- ],
- "time_consumption": 0.00016307830810546875
- }
- ],
- "time_consumption": 1.2111866474151611,
- "time_start": "2023-02-09 15:57:46,401",
- "time_finished": "2023-02-09 15:57:47,613"
- },
- "Power On/ Off synchronisation test: my_apps/gfw/dirk/powerplug/output/3": {
- "name": "__tLogger__",
- "msg": "Power On/ Off synchronisation test: my_apps/gfw/dirk/powerplug/output/3",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 24,
- "funcName": "test_power_on_off_sync",
- "created": 1675954667.613893,
- "msecs": 613.8930320739746,
- "relativeCreated": 53510.13541221619,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off synchronisation test: my_apps/gfw/dirk/powerplug/output/3",
- "asctime": "2023-02-09 15:57:47,613",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions for master device '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 30,
- "funcName": "__test_power_on_off_sync__",
- "created": 1675954667.9160318,
- "msecs": 916.0318374633789,
- "relativeCreated": 53812.27421760559,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions for master device 'False'",
- "asctime": "2023-02-09 15:57:47,916",
- "moduleLogger": [],
- "time_consumption": 0.0
- },
- {
- "name": "__tLogger__",
- "msg": "Changing master device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off_sync__",
- "created": 1675954668.217205,
- "msecs": 217.20504760742188,
- "relativeCreated": 54113.447427749634,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing master device state to 'True'",
- "asctime": "2023-02-09 15:57:48,217",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/3",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954667.9165368,
- "msecs": 916.536808013916,
- "relativeCreated": 53812.77918815613,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload true",
- "asctime": "2023-02-09 15:57:47,916"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/3",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.9176133,
- "msecs": 917.6132678985596,
- "relativeCreated": 53813.85564804077,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'true'",
- "asctime": "2023-02-09 15:57:47,917"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1/set",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.9205642,
- "msecs": 920.5641746520996,
- "relativeCreated": 53816.80655479431,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'true'",
- "asctime": "2023-02-09 15:57:47,920"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954667.9209037,
- "msecs": 920.9036827087402,
- "relativeCreated": 53817.14606285095,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload true",
- "asctime": "2023-02-09 15:57:47,920"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/cd_player/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.921575,
- "msecs": 921.5750694274902,
- "relativeCreated": 53817.8174495697,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'true'",
- "asctime": "2023-02-09 15:57:47,921"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/cd_player/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.9222112,
- "msecs": 922.2111701965332,
- "relativeCreated": 53818.453550338745,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/cd_player/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:47,922"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954667.9227128,
- "msecs": 922.7128028869629,
- "relativeCreated": 53818.955183029175,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'true'",
- "asctime": "2023-02-09 15:57:47,922"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.0109644,
- "msecs": 10.964393615722656,
- "relativeCreated": 53907.206773757935,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'true'",
- "asctime": "2023-02-09 15:57:48,010"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.0116715,
- "msecs": 11.67154312133789,
- "relativeCreated": 53907.91392326355,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:48,011"
- }
- ],
- "time_consumption": 0.20553350448608398
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (my_apps/gfw/dirk/powerplug/output/1) state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954668.2178662,
- "msecs": 217.8661823272705,
- "relativeCreated": 54114.10856246948,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (my_apps/gfw/dirk/powerplug/output/1) state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:48,217",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (my_apps/gfw/dirk/powerplug/output/1) state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954668.2175987,
- "msecs": 217.59867668151855,
- "relativeCreated": 54113.84105682373,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (my_apps/gfw/dirk/powerplug/output/1) state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:48,217"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (my_apps/gfw/dirk/powerplug/output/1) state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954668.2177584,
- "msecs": 217.7584171295166,
- "relativeCreated": 54114.00079727173,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (my_apps/gfw/dirk/powerplug/output/1) state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:48,217"
- }
- ],
- "time_consumption": 0.00010776519775390625
- },
- {
- "name": "__tLogger__",
- "msg": "Changing master device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off_sync__",
- "created": 1675954668.5190945,
- "msecs": 519.0944671630859,
- "relativeCreated": 54415.3368473053,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing master device state to 'False'",
- "asctime": "2023-02-09 15:57:48,519",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/3",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954668.2181509,
- "msecs": 218.15085411071777,
- "relativeCreated": 54114.39323425293,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/3 and payload false",
- "asctime": "2023-02-09 15:57:48,218"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.3",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/3",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.219165,
- "msecs": 219.16508674621582,
- "relativeCreated": 54115.40746688843,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/3 and payload b'false'",
- "asctime": "2023-02-09 15:57:48,219"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1/set",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.2223566,
- "msecs": 222.35655784606934,
- "relativeCreated": 54118.59893798828,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1/set and payload b'false'",
- "asctime": "2023-02-09 15:57:48,222"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954668.2226982,
- "msecs": 222.69821166992188,
- "relativeCreated": 54118.940591812134,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/1 and payload false",
- "asctime": "2023-02-09 15:57:48,222"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/cd_player/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.2234013,
- "msecs": 223.40130805969238,
- "relativeCreated": 54119.643688201904,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/cd_player/state and payload b'false'",
- "asctime": "2023-02-09 15:57:48,223"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.cd_player.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/cd_player/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.224119,
- "msecs": 224.1189479827881,
- "relativeCreated": 54120.361328125,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/cd_player/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:48,224"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/1",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.2246768,
- "msecs": 224.67684745788574,
- "relativeCreated": 54120.9192276001,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/1 and payload b'false'",
- "asctime": "2023-02-09 15:57:48,224"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.3101425,
- "msecs": 310.14251708984375,
- "relativeCreated": 54206.384897232056,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/state and payload b'false'",
- "asctime": "2023-02-09 15:57:48,310"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.amplifier.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/amplifier/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.3108168,
- "msecs": 310.81676483154297,
- "relativeCreated": 54207.059144973755,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/amplifier/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:48,310"
- }
- ],
- "time_consumption": 0.20827770233154297
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (my_apps/gfw/dirk/powerplug/output/1) state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954668.5197225,
- "msecs": 519.7224617004395,
- "relativeCreated": 54415.96484184265,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (my_apps/gfw/dirk/powerplug/output/1) state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:48,519",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (my_apps/gfw/dirk/powerplug/output/1) state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954668.519502,
- "msecs": 519.5019245147705,
- "relativeCreated": 54415.74430465698,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (my_apps/gfw/dirk/powerplug/output/1) state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:48,519"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (my_apps/gfw/dirk/powerplug/output/1) state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954668.5196247,
- "msecs": 519.6247100830078,
- "relativeCreated": 54415.86709022522,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (my_apps/gfw/dirk/powerplug/output/1) state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:48,519"
- }
- ],
- "time_consumption": 9.775161743164062e-05
- }
- ],
- "time_consumption": 0.9058294296264648,
- "time_start": "2023-02-09 15:57:47,613",
- "time_finished": "2023-02-09 15:57:48,519"
- },
- "Brightness test for device and virtual device: zigbee/gfw/dirk/desk_light": {
- "name": "__tLogger__",
- "msg": "Brightness test for device and virtual device: zigbee/gfw/dirk/desk_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 50,
- "funcName": "test_brightness",
- "created": 1675954668.5201988,
- "msecs": 520.1988220214844,
- "relativeCreated": 54416.441202163696,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Brightness test for device and virtual device: zigbee/gfw/dirk/desk_light",
- "asctime": "2023-02-09 15:57:48,520",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 57,
- "funcName": "__test_brightness__",
- "created": 1675954668.8218093,
- "msecs": 821.8092918395996,
- "relativeCreated": 54718.05167198181,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:57:48,821",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954668.5205402,
- "msecs": 520.5402374267578,
- "relativeCreated": 54416.78261756897,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload true",
- "asctime": "2023-02-09 15:57:48,520"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954668.5210826,
- "msecs": 521.0826396942139,
- "relativeCreated": 54417.325019836426,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:48,521"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.5219202,
- "msecs": 521.9202041625977,
- "relativeCreated": 54418.16258430481,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'true'",
- "asctime": "2023-02-09 15:57:48,521"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.5224304,
- "msecs": 522.430419921875,
- "relativeCreated": 54418.67280006409,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:48,522"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.5698745,
- "msecs": 569.8745250701904,
- "relativeCreated": 54466.1169052124,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:48,569"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.5708036,
- "msecs": 570.8036422729492,
- "relativeCreated": 54467.04602241516,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:48,570"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.5721989,
- "msecs": 572.1988677978516,
- "relativeCreated": 54468.44124794006,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:48,572"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.572814,
- "msecs": 572.8139877319336,
- "relativeCreated": 54469.056367874146,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:48,572"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.573393,
- "msecs": 573.3931064605713,
- "relativeCreated": 54469.63548660278,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:48,573"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.5739121,
- "msecs": 573.9121437072754,
- "relativeCreated": 54470.15452384949,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:48,573"
- }
- ],
- "time_consumption": 0.24789714813232422
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954668.8224423,
- "msecs": 822.4422931671143,
- "relativeCreated": 54718.684673309326,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:48,822",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954668.822207,
- "msecs": 822.206974029541,
- "relativeCreated": 54718.44935417175,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:48,822"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954668.822338,
- "msecs": 822.3381042480469,
- "relativeCreated": 54718.58048439026,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:48,822"
- }
- ],
- "time_consumption": 0.00010418891906738281
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954669.1239305,
- "msecs": 123.93045425415039,
- "relativeCreated": 55020.17283439636,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:49,123",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954668.8228364,
- "msecs": 822.8363990783691,
- "relativeCreated": 54719.07877922058,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:48,822"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.824045,
- "msecs": 824.044942855835,
- "relativeCreated": 54720.28732299805,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:48,824"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.8268228,
- "msecs": 826.8227577209473,
- "relativeCreated": 54723.06513786316,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:48,826"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954668.8275135,
- "msecs": 827.5134563446045,
- "relativeCreated": 54723.75583648682,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:48,827"
- }
- ],
- "time_consumption": 0.2964169979095459
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954669.1245456,
- "msecs": 124.54557418823242,
- "relativeCreated": 55020.787954330444,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:49,124",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954669.124296,
- "msecs": 124.29594993591309,
- "relativeCreated": 55020.538330078125,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:49,124"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954669.1244142,
- "msecs": 124.41420555114746,
- "relativeCreated": 55020.65658569336,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:49,124"
- }
- ],
- "time_consumption": 0.00013136863708496094
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954669.1248696,
- "msecs": 124.86958503723145,
- "relativeCreated": 55021.11196517944,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:49,124",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954669.124702,
- "msecs": 124.70197677612305,
- "relativeCreated": 55020.944356918335,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:49,124"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954669.1247911,
- "msecs": 124.79114532470703,
- "relativeCreated": 55021.03352546692,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:49,124"
- }
- ],
- "time_consumption": 7.843971252441406e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954669.4259667,
- "msecs": 425.966739654541,
- "relativeCreated": 55322.20911979675,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:49,425",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954669.1251583,
- "msecs": 125.15830993652344,
- "relativeCreated": 55021.400690078735,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/desk_light/brightness and payload 50",
- "asctime": "2023-02-09 15:57:49,125"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954669.1261554,
- "msecs": 126.15537643432617,
- "relativeCreated": 55022.39775657654,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:49,126"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954669.1277275,
- "msecs": 127.72750854492188,
- "relativeCreated": 55023.969888687134,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/desk_light/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:49,127"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954669.1281023,
- "msecs": 128.10230255126953,
- "relativeCreated": 55024.34468269348,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:49,128"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954669.1289945,
- "msecs": 128.99446487426758,
- "relativeCreated": 55025.23684501648,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:49,128"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954669.1720953,
- "msecs": 172.09529876708984,
- "relativeCreated": 55068.3376789093,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:49,172"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954669.1727448,
- "msecs": 172.7447509765625,
- "relativeCreated": 55068.987131118774,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:49,172"
- }
- ],
- "time_consumption": 0.2532219886779785
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954669.4265718,
- "msecs": 426.5718460083008,
- "relativeCreated": 55322.81422615051,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:49,426",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954669.4263346,
- "msecs": 426.3346195220947,
- "relativeCreated": 55322.57699966431,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:49,426"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954669.4264498,
- "msecs": 426.4497756958008,
- "relativeCreated": 55322.69215583801,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:49,426"
- }
- ],
- "time_consumption": 0.0001220703125
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954669.4268847,
- "msecs": 426.88465118408203,
- "relativeCreated": 55323.127031326294,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:49,426",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954669.4267213,
- "msecs": 426.72133445739746,
- "relativeCreated": 55322.96371459961,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:49,426"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954669.426807,
- "msecs": 426.8069267272949,
- "relativeCreated": 55323.04930686951,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:49,426"
- }
- ],
- "time_consumption": 7.772445678710938e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954669.7290993,
- "msecs": 729.0992736816406,
- "relativeCreated": 55625.34165382385,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:49,729",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954669.4271934,
- "msecs": 427.19340324401855,
- "relativeCreated": 55323.43578338623,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:49,427"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954669.4281495,
- "msecs": 428.1494617462158,
- "relativeCreated": 55324.39184188843,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:49,428"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954669.4305441,
- "msecs": 430.5441379547119,
- "relativeCreated": 55326.786518096924,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:49,430"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954669.4311857,
- "msecs": 431.1857223510742,
- "relativeCreated": 55327.428102493286,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:49,431"
- }
- ],
- "time_consumption": 0.2979135513305664
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954669.7297575,
- "msecs": 729.75754737854,
- "relativeCreated": 55625.99992752075,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:49,729",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954669.729518,
- "msecs": 729.517936706543,
- "relativeCreated": 55625.760316848755,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:49,729"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954669.7296524,
- "msecs": 729.6524047851562,
- "relativeCreated": 55625.89478492737,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:49,729"
- }
- ],
- "time_consumption": 0.00010514259338378906
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954669.7301147,
- "msecs": 730.1146984100342,
- "relativeCreated": 55626.357078552246,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:49,730",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954669.7299283,
- "msecs": 729.9282550811768,
- "relativeCreated": 55626.17063522339,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:49,729"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954669.7300265,
- "msecs": 730.0264835357666,
- "relativeCreated": 55626.26886367798,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:49,730"
- }
- ],
- "time_consumption": 8.821487426757812e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954670.0312347,
- "msecs": 31.2347412109375,
- "relativeCreated": 55927.47712135315,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:50,031",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954669.7304046,
- "msecs": 730.4046154022217,
- "relativeCreated": 55626.64699554443,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/desk_light/brightness and payload 50",
- "asctime": "2023-02-09 15:57:49,730"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954669.7314923,
- "msecs": 731.492280960083,
- "relativeCreated": 55627.734661102295,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:49,731"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954669.7331944,
- "msecs": 733.1943511962891,
- "relativeCreated": 55629.4367313385,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/desk_light/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:49,733"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954669.7336223,
- "msecs": 733.6223125457764,
- "relativeCreated": 55629.86469268799,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:49,733"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954669.7346578,
- "msecs": 734.6577644348145,
- "relativeCreated": 55630.90014457703,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:49,734"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954669.7775214,
- "msecs": 777.5213718414307,
- "relativeCreated": 55673.76375198364,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:49,777"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954669.7781646,
- "msecs": 778.1646251678467,
- "relativeCreated": 55674.40700531006,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:49,778"
- }
- ],
- "time_consumption": 0.2530701160430908
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954670.0318513,
- "msecs": 31.85129165649414,
- "relativeCreated": 55928.093671798706,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:50,031",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954670.0316055,
- "msecs": 31.60548210144043,
- "relativeCreated": 55927.84786224365,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:50,031"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954670.031752,
- "msecs": 31.75210952758789,
- "relativeCreated": 55927.9944896698,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:50,031"
- }
- ],
- "time_consumption": 9.918212890625e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 74,
- "funcName": "__test_brightness__",
- "created": 1675954670.3340197,
- "msecs": 334.01966094970703,
- "relativeCreated": 56230.26204109192,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:57:50,334",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954670.032107,
- "msecs": 32.10711479187012,
- "relativeCreated": 55928.34949493408,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload false",
- "asctime": "2023-02-09 15:57:50,032"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954670.0331023,
- "msecs": 33.10227394104004,
- "relativeCreated": 55929.34465408325,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'false'",
- "asctime": "2023-02-09 15:57:50,033"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954670.0374677,
- "msecs": 37.46771812438965,
- "relativeCreated": 55933.7100982666,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:50,037"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954670.038068,
- "msecs": 38.06805610656738,
- "relativeCreated": 55934.31043624878,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:50,038"
- }
- ],
- "time_consumption": 0.29595160484313965
- }
- ],
- "time_consumption": 1.8138208389282227,
- "time_start": "2023-02-09 15:57:48,520",
- "time_finished": "2023-02-09 15:57:50,334"
- },
- "Color temperature test for device and virtual device: zigbee/gfw/dirk/desk_light": {
- "name": "__tLogger__",
- "msg": "Color temperature test for device and virtual device: zigbee/gfw/dirk/desk_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 81,
- "funcName": "test_color_temp",
- "created": 1675954670.3347073,
- "msecs": 334.70726013183594,
- "relativeCreated": 56230.94964027405,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Color temperature test for device and virtual device: zigbee/gfw/dirk/desk_light",
- "asctime": "2023-02-09 15:57:50,334",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 88,
- "funcName": "__test_color_temp__",
- "created": 1675954670.636399,
- "msecs": 636.3990306854248,
- "relativeCreated": 56532.64141082764,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:57:50,636",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954670.33507,
- "msecs": 335.0698947906494,
- "relativeCreated": 56231.31227493286,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload true",
- "asctime": "2023-02-09 15:57:50,335"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954670.3355904,
- "msecs": 335.5903625488281,
- "relativeCreated": 56231.83274269104,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:50,335"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954670.336446,
- "msecs": 336.44604682922363,
- "relativeCreated": 56232.688426971436,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'true'",
- "asctime": "2023-02-09 15:57:50,336"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954670.336952,
- "msecs": 336.95197105407715,
- "relativeCreated": 56233.19435119629,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:50,336"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954670.3817081,
- "msecs": 381.70814514160156,
- "relativeCreated": 56277.95052528381,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:50,381"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954670.3825107,
- "msecs": 382.5106620788574,
- "relativeCreated": 56278.75304222107,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:50,382"
- }
- ],
- "time_consumption": 0.2538883686065674
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954670.6369534,
- "msecs": 636.9533538818359,
- "relativeCreated": 56533.19573402405,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:50,636",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954670.6367378,
- "msecs": 636.7378234863281,
- "relativeCreated": 56532.98020362854,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:50,636"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954670.6368577,
- "msecs": 636.8577480316162,
- "relativeCreated": 56533.10012817383,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:50,636"
- }
- ],
- "time_consumption": 9.560585021972656e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 94,
- "funcName": "__test_color_temp__",
- "created": 1675954670.9383044,
- "msecs": 938.3044242858887,
- "relativeCreated": 56834.5468044281,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device color temperature to '5'",
- "asctime": "2023-02-09 15:57:50,938",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954670.6373045,
- "msecs": 637.3045444488525,
- "relativeCreated": 56533.546924591064,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:50,637"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954670.6382637,
- "msecs": 638.2637023925781,
- "relativeCreated": 56534.50608253479,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:50,638"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/color_temp",
- "b'8.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954670.640407,
- "msecs": 640.4070854187012,
- "relativeCreated": 56536.64946556091,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'8.0'",
- "asctime": "2023-02-09 15:57:50,640"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954670.640993,
- "msecs": 640.9931182861328,
- "relativeCreated": 56537.235498428345,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:50,640"
- }
- ],
- "time_consumption": 0.29731130599975586
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954670.9389567,
- "msecs": 938.9567375183105,
- "relativeCreated": 56835.19911766052,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:50,938",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954670.9387178,
- "msecs": 938.7178421020508,
- "relativeCreated": 56834.96022224426,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:50,938"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954670.9388542,
- "msecs": 938.8542175292969,
- "relativeCreated": 56835.09659767151,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:50,938"
- }
- ],
- "time_consumption": 0.00010251998901367188
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954670.9393158,
- "msecs": 939.3157958984375,
- "relativeCreated": 56835.55817604065,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:50,939",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954670.9391282,
- "msecs": 939.1281604766846,
- "relativeCreated": 56835.3705406189,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:50,939"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954670.9392273,
- "msecs": 939.2273426055908,
- "relativeCreated": 56835.4697227478,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:50,939"
- }
- ],
- "time_consumption": 8.845329284667969e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 100,
- "funcName": "__test_color_temp__",
- "created": 1675954671.240541,
- "msecs": 240.5409812927246,
- "relativeCreated": 57136.78336143494,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device color temperature to '5'",
- "asctime": "2023-02-09 15:57:51,240",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954670.9396086,
- "msecs": 939.6085739135742,
- "relativeCreated": 56835.850954055786,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/desk_light/color_temp and payload 5",
- "asctime": "2023-02-09 15:57:50,939"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954670.9407089,
- "msecs": 940.7088756561279,
- "relativeCreated": 56836.95125579834,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:57:50,940"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954670.942415,
- "msecs": 942.4149990081787,
- "relativeCreated": 56838.65737915039,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/desk_light/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:50,942"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954670.9428637,
- "msecs": 942.8637027740479,
- "relativeCreated": 56839.10608291626,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:50,942"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954670.9438875,
- "msecs": 943.88747215271,
- "relativeCreated": 56840.12985229492,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:50,943"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954670.9894106,
- "msecs": 989.4106388092041,
- "relativeCreated": 56885.653018951416,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:50,989"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954670.9901474,
- "msecs": 990.1473522186279,
- "relativeCreated": 56886.38973236084,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:50,990"
- }
- ],
- "time_consumption": 0.2503936290740967
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954671.2412248,
- "msecs": 241.2247657775879,
- "relativeCreated": 57137.4671459198,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:51,241",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954671.2409337,
- "msecs": 240.93365669250488,
- "relativeCreated": 57137.17603683472,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:51,240"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954671.2411077,
- "msecs": 241.10770225524902,
- "relativeCreated": 57137.35008239746,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:51,241"
- }
- ],
- "time_consumption": 0.00011706352233886719
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954671.2416298,
- "msecs": 241.62983894348145,
- "relativeCreated": 57137.87221908569,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:51,241",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954671.241402,
- "msecs": 241.40191078186035,
- "relativeCreated": 57137.64429092407,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:51,241"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954671.2415378,
- "msecs": 241.53780937194824,
- "relativeCreated": 57137.78018951416,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:51,241"
- }
- ],
- "time_consumption": 9.202957153320312e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 94,
- "funcName": "__test_color_temp__",
- "created": 1675954671.5438924,
- "msecs": 543.8923835754395,
- "relativeCreated": 57440.13476371765,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device color temperature to '5'",
- "asctime": "2023-02-09 15:57:51,543",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954671.2419765,
- "msecs": 241.97649955749512,
- "relativeCreated": 57138.21887969971,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:51,241"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954671.243007,
- "msecs": 243.00694465637207,
- "relativeCreated": 57139.249324798584,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:51,243"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/color_temp",
- "b'8.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954671.245579,
- "msecs": 245.57900428771973,
- "relativeCreated": 57141.82138442993,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'8.0'",
- "asctime": "2023-02-09 15:57:51,245"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954671.2461734,
- "msecs": 246.17338180541992,
- "relativeCreated": 57142.41576194763,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:51,246"
- }
- ],
- "time_consumption": 0.29771900177001953
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954671.5444746,
- "msecs": 544.4746017456055,
- "relativeCreated": 57440.71698188782,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:51,544",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954671.5442634,
- "msecs": 544.2633628845215,
- "relativeCreated": 57440.50574302673,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:51,544"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954671.544381,
- "msecs": 544.3809032440186,
- "relativeCreated": 57440.62328338623,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:51,544"
- }
- ],
- "time_consumption": 9.369850158691406e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954671.5448265,
- "msecs": 544.8265075683594,
- "relativeCreated": 57441.06888771057,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:51,544",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954671.5446239,
- "msecs": 544.623851776123,
- "relativeCreated": 57440.866231918335,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:51,544"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954671.5447452,
- "msecs": 544.7452068328857,
- "relativeCreated": 57440.9875869751,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:51,544"
- }
- ],
- "time_consumption": 8.130073547363281e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 100,
- "funcName": "__test_color_temp__",
- "created": 1675954671.845919,
- "msecs": 845.9188938140869,
- "relativeCreated": 57742.1612739563,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device color temperature to '5'",
- "asctime": "2023-02-09 15:57:51,845",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954671.5451314,
- "msecs": 545.1314449310303,
- "relativeCreated": 57441.37382507324,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/desk_light/color_temp and payload 5",
- "asctime": "2023-02-09 15:57:51,545"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954671.546102,
- "msecs": 546.1020469665527,
- "relativeCreated": 57442.344427108765,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:57:51,546"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954671.5475922,
- "msecs": 547.5921630859375,
- "relativeCreated": 57443.83454322815,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/desk_light/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:57:51,547"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954671.547966,
- "msecs": 547.9660034179688,
- "relativeCreated": 57444.20838356018,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:51,547"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954671.5488625,
- "msecs": 548.8624572753906,
- "relativeCreated": 57445.1048374176,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:51,548"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954671.591917,
- "msecs": 591.9170379638672,
- "relativeCreated": 57488.15941810608,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:51,591"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954671.5925627,
- "msecs": 592.5626754760742,
- "relativeCreated": 57488.805055618286,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:51,592"
- }
- ],
- "time_consumption": 0.2533562183380127
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954671.8465283,
- "msecs": 846.5282917022705,
- "relativeCreated": 57742.77067184448,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:51,846",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954671.8462853,
- "msecs": 846.285343170166,
- "relativeCreated": 57742.52772331238,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:51,846"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954671.8464315,
- "msecs": 846.4314937591553,
- "relativeCreated": 57742.67387390137,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:51,846"
- }
- ],
- "time_consumption": 9.679794311523438e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 105,
- "funcName": "__test_color_temp__",
- "created": 1675954672.1487076,
- "msecs": 148.70762825012207,
- "relativeCreated": 58044.950008392334,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:57:52,148",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954671.8467832,
- "msecs": 846.7831611633301,
- "relativeCreated": 57743.02554130554,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload false",
- "asctime": "2023-02-09 15:57:51,846"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954671.847771,
- "msecs": 847.7709293365479,
- "relativeCreated": 57744.01330947876,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'false'",
- "asctime": "2023-02-09 15:57:51,847"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954671.8515134,
- "msecs": 851.5133857727051,
- "relativeCreated": 57747.75576591492,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:51,851"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954671.8521016,
- "msecs": 852.1015644073486,
- "relativeCreated": 57748.34394454956,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:51,852"
- }
- ],
- "time_consumption": 0.29660606384277344
- }
- ],
- "time_consumption": 1.8140003681182861,
- "time_start": "2023-02-09 15:57:50,334",
- "time_finished": "2023-02-09 15:57:52,148"
- },
- "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/2": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/2",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954672.1494308,
- "msecs": 149.4307518005371,
- "relativeCreated": 58045.67313194275,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/2",
- "asctime": "2023-02-09 15:57:52,149",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954672.149902,
- "msecs": 149.9021053314209,
- "relativeCreated": 58046.14448547363,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:52,149",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954672.1496809,
- "msecs": 149.68085289001465,
- "relativeCreated": 58045.92323303223,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:52,149"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954672.1497977,
- "msecs": 149.7976779937744,
- "relativeCreated": 58046.040058135986,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:52,149"
- }
- ],
- "time_consumption": 0.00010442733764648438
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954672.4515183,
- "msecs": 451.51829719543457,
- "relativeCreated": 58347.76067733765,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:52,451",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954672.1501513,
- "msecs": 150.15125274658203,
- "relativeCreated": 58046.393632888794,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload true",
- "asctime": "2023-02-09 15:57:52,150"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954672.1506312,
- "msecs": 150.63118934631348,
- "relativeCreated": 58046.873569488525,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:52,150"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954672.151488,
- "msecs": 151.4880657196045,
- "relativeCreated": 58047.73044586182,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'true'",
- "asctime": "2023-02-09 15:57:52,151"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954672.1519928,
- "msecs": 151.9927978515625,
- "relativeCreated": 58048.235177993774,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:52,151"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954672.197459,
- "msecs": 197.45898246765137,
- "relativeCreated": 58093.70136260986,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:52,197"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954672.1977725,
- "msecs": 197.77250289916992,
- "relativeCreated": 58094.01488304138,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:52,197"
- }
- ],
- "time_consumption": 0.25374579429626465
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954672.4520884,
- "msecs": 452.0883560180664,
- "relativeCreated": 58348.33073616028,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:52,452",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954672.4518707,
- "msecs": 451.8706798553467,
- "relativeCreated": 58348.11305999756,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:52,451"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954672.4519897,
- "msecs": 451.98965072631836,
- "relativeCreated": 58348.23203086853,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:52,451"
- }
- ],
- "time_consumption": 9.870529174804688e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954672.4524097,
- "msecs": 452.4097442626953,
- "relativeCreated": 58348.65212440491,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:52,452",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954672.4522443,
- "msecs": 452.2442817687988,
- "relativeCreated": 58348.48666191101,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:52,452"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954672.4523335,
- "msecs": 452.3334503173828,
- "relativeCreated": 58348.575830459595,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:52,452"
- }
- ],
- "time_consumption": 7.62939453125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954672.7545319,
- "msecs": 754.5318603515625,
- "relativeCreated": 58650.774240493774,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:52,754",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954672.4526856,
- "msecs": 452.6855945587158,
- "relativeCreated": 58348.92797470093,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/desk_light/state and payload false",
- "asctime": "2023-02-09 15:57:52,452"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954672.4537244,
- "msecs": 453.7243843078613,
- "relativeCreated": 58349.96676445007,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:52,453"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2/set",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954672.4551346,
- "msecs": 455.13463020324707,
- "relativeCreated": 58351.37701034546,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2/set and payload b'false'",
- "asctime": "2023-02-09 15:57:52,455"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954672.4554412,
- "msecs": 455.4412364959717,
- "relativeCreated": 58351.68361663818,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload false",
- "asctime": "2023-02-09 15:57:52,455"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954672.456543,
- "msecs": 456.54296875,
- "relativeCreated": 58352.78534889221,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'false'",
- "asctime": "2023-02-09 15:57:52,456"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954672.542163,
- "msecs": 542.1628952026367,
- "relativeCreated": 58438.40527534485,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:52,542"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954672.5428874,
- "msecs": 542.8874492645264,
- "relativeCreated": 58439.12982940674,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:52,542"
- }
- ],
- "time_consumption": 0.21164441108703613
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954672.7551265,
- "msecs": 755.1264762878418,
- "relativeCreated": 58651.368856430054,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:52,755",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954672.7549086,
- "msecs": 754.908561706543,
- "relativeCreated": 58651.150941848755,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:52,754"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954672.7550316,
- "msecs": 755.0315856933594,
- "relativeCreated": 58651.27396583557,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:52,755"
- }
- ],
- "time_consumption": 9.489059448242188e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954672.7554798,
- "msecs": 755.4798126220703,
- "relativeCreated": 58651.72219276428,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:52,755",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954672.7553144,
- "msecs": 755.3143501281738,
- "relativeCreated": 58651.556730270386,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:52,755"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954672.755402,
- "msecs": 755.4020881652832,
- "relativeCreated": 58651.644468307495,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:52,755"
- }
- ],
- "time_consumption": 7.772445678710938e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954673.0570955,
- "msecs": 57.09552764892578,
- "relativeCreated": 58953.33790779114,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:57:53,057",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954672.7557144,
- "msecs": 755.7144165039062,
- "relativeCreated": 58651.95679664612,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload true",
- "asctime": "2023-02-09 15:57:52,755"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954672.7562048,
- "msecs": 756.2048435211182,
- "relativeCreated": 58652.44722366333,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/desk_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:52,756"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954672.757078,
- "msecs": 757.0779323577881,
- "relativeCreated": 58653.3203125,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'true'",
- "asctime": "2023-02-09 15:57:52,757"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.desk_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/desk_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954672.7575839,
- "msecs": 757.5838565826416,
- "relativeCreated": 58653.82623672485,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/desk_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:52,757"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954672.8069398,
- "msecs": 806.9398403167725,
- "relativeCreated": 58703.182220458984,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:52,806"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954672.8076649,
- "msecs": 807.6648712158203,
- "relativeCreated": 58703.90725135803,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:52,807"
- }
- ],
- "time_consumption": 0.24943065643310547
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954673.0576944,
- "msecs": 57.694435119628906,
- "relativeCreated": 58953.93681526184,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:53,057",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954673.0574481,
- "msecs": 57.44814872741699,
- "relativeCreated": 58953.69052886963,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:53,057"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954673.0575998,
- "msecs": 57.599782943725586,
- "relativeCreated": 58953.84216308594,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:53,057"
- }
- ],
- "time_consumption": 9.465217590332031e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954673.0580206,
- "msecs": 58.020591735839844,
- "relativeCreated": 58954.26297187805,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:53,058",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954673.057848,
- "msecs": 57.84797668457031,
- "relativeCreated": 58954.09035682678,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:53,057"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954673.057944,
- "msecs": 57.94405937194824,
- "relativeCreated": 58954.18643951416,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:53,057"
- }
- ],
- "time_consumption": 7.653236389160156e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954673.3601663,
- "msecs": 360.1663112640381,
- "relativeCreated": 59256.40869140625,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:57:53,360",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954673.0583048,
- "msecs": 58.304786682128906,
- "relativeCreated": 58954.54716682434,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/desk_light/state and payload false",
- "asctime": "2023-02-09 15:57:53,058"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.0592804,
- "msecs": 59.2803955078125,
- "relativeCreated": 58955.522775650024,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:53,059"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2/set",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.0607488,
- "msecs": 60.74881553649902,
- "relativeCreated": 58956.99119567871,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2/set and payload b'false'",
- "asctime": "2023-02-09 15:57:53,060"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954673.061072,
- "msecs": 61.07211112976074,
- "relativeCreated": 58957.31449127197,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/2 and payload false",
- "asctime": "2023-02-09 15:57:53,061"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/2",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.0620487,
- "msecs": 62.04867362976074,
- "relativeCreated": 58958.29105377197,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/2 and payload b'false'",
- "asctime": "2023-02-09 15:57:53,062"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.1461565,
- "msecs": 146.15654945373535,
- "relativeCreated": 59042.39892959595,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:53,146"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.desk_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/desk_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.1468441,
- "msecs": 146.84414863586426,
- "relativeCreated": 59043.086528778076,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/desk_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:53,146"
- }
- ],
- "time_consumption": 0.21332216262817383
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954673.360768,
- "msecs": 360.76807975769043,
- "relativeCreated": 59257.0104598999,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:53,360",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954673.3605478,
- "msecs": 360.5477809906006,
- "relativeCreated": 59256.79016113281,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:53,360"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954673.360672,
- "msecs": 360.6719970703125,
- "relativeCreated": 59256.914377212524,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:53,360"
- }
- ],
- "time_consumption": 9.608268737792969e-05
- }
- ],
- "time_consumption": 1.2113373279571533,
- "time_start": "2023-02-09 15:57:52,149",
- "time_finished": "2023-02-09 15:57:53,360"
- },
- "Away mode test: zigbee/gfw/dirk/heating_valve": {
- "name": "__tLogger__",
- "msg": "Away mode test: zigbee/gfw/dirk/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 101,
- "funcName": "test_away_mode",
- "created": 1675954673.3613198,
- "msecs": 361.31978034973145,
- "relativeCreated": 59257.56216049194,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Away mode test: zigbee/gfw/dirk/heating_valve",
- "asctime": "2023-02-09 15:57:53,361",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Default setpoint)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 106,
- "funcName": "__test_away_mode__",
- "created": 1675954673.6625845,
- "msecs": 662.5845432281494,
- "relativeCreated": 59558.82692337036,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Default setpoint)",
- "asctime": "2023-02-09 15:57:53,662",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954673.361633,
- "msecs": 361.6330623626709,
- "relativeCreated": 59257.87544250488,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:57:53,361"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.362618,
- "msecs": 362.61796951293945,
- "relativeCreated": 59258.86034965515,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:57:53,362"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/user_temperature_setpoint",
- "b'25'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.3801064,
- "msecs": 380.10644912719727,
- "relativeCreated": 59276.34882926941,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'",
- "asctime": "2023-02-09 15:57:53,380"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.3807454,
- "msecs": 380.74541091918945,
- "relativeCreated": 59276.9877910614,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:53,380"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve/set",
- "b'{\"current_heating_setpoint\": 25}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.3818326,
- "msecs": 381.8325996398926,
- "relativeCreated": 59278.074979782104,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
- "asctime": "2023-02-09 15:57:53,381"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954673.3821537,
- "msecs": 382.1537494659424,
- "relativeCreated": 59278.396129608154,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:53,382"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
- "b'25'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.3828955,
- "msecs": 382.89546966552734,
- "relativeCreated": 59279.13784980774,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
- "asctime": "2023-02-09 15:57:53,382"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.3835843,
- "msecs": 383.58426094055176,
- "relativeCreated": 59279.826641082764,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:53,383"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.384119,
- "msecs": 384.11903381347656,
- "relativeCreated": 59280.36141395569,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:53,384"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.4286294,
- "msecs": 428.62939834594727,
- "relativeCreated": 59324.87177848816,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:53,428"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.4701407,
- "msecs": 470.1406955718994,
- "relativeCreated": 59366.38307571411,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:53,470"
- }
- ],
- "time_consumption": 0.19244384765625
- },
- {
- "name": "__tLogger__",
- "msg": "Away mode is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954673.6631417,
- "msecs": 663.1417274475098,
- "relativeCreated": 59559.38410758972,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Away mode is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:53,663",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Away mode",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954673.6629272,
- "msecs": 662.9271507263184,
- "relativeCreated": 59559.16953086853,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Away mode): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:53,662"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Away mode",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954673.6630461,
- "msecs": 663.04612159729,
- "relativeCreated": 59559.2885017395,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Away mode): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:53,663"
- }
- ],
- "time_consumption": 9.560585021972656e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Activating away mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 113,
- "funcName": "__test_away_mode__",
- "created": 1675954673.9653723,
- "msecs": 965.3723239898682,
- "relativeCreated": 59861.61470413208,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Activating away mode",
- "asctime": "2023-02-09 15:57:53,965",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/away_mode",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954673.6634734,
- "msecs": 663.47336769104,
- "relativeCreated": 59559.71574783325,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/heating_valve/away_mode and payload true",
- "asctime": "2023-02-09 15:57:53,663"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/away_mode",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.6644475,
- "msecs": 664.447546005249,
- "relativeCreated": 59560.68992614746,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/away_mode and payload b'true'",
- "asctime": "2023-02-09 15:57:53,664"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve/set",
- "b'{\"current_heating_setpoint\": 20}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.6793728,
- "msecs": 679.3727874755859,
- "relativeCreated": 59575.6151676178,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 20}'",
- "asctime": "2023-02-09 15:57:53,679"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954673.679809,
- "msecs": 679.8090934753418,
- "relativeCreated": 59576.051473617554,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:53,679"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
- "b'20'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.6803892,
- "msecs": 680.3891658782959,
- "relativeCreated": 59576.63154602051,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20'",
- "asctime": "2023-02-09 15:57:53,680"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.6810935,
- "msecs": 681.0934543609619,
- "relativeCreated": 59577.335834503174,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:53,681"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/away_mode",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.6816216,
- "msecs": 681.6215515136719,
- "relativeCreated": 59577.863931655884,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/away_mode and payload b'true'",
- "asctime": "2023-02-09 15:57:53,681"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.6821258,
- "msecs": 682.1258068084717,
- "relativeCreated": 59578.36818695068,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:53,682"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.6826339,
- "msecs": 682.6338768005371,
- "relativeCreated": 59578.87625694275,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:53,682"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.7255995,
- "msecs": 725.5995273590088,
- "relativeCreated": 59621.84190750122,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:53,725"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.7658918,
- "msecs": 765.8917903900146,
- "relativeCreated": 59662.13417053223,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:53,765"
- }
- ],
- "time_consumption": 0.19948053359985352
- },
- {
- "name": "__tLogger__",
- "msg": "Away mode is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954673.966023,
- "msecs": 966.0229682922363,
- "relativeCreated": 59862.26534843445,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Away mode is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:53,966",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Away mode",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954673.965773,
- "msecs": 965.7731056213379,
- "relativeCreated": 59862.01548576355,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Away mode): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:53,965"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Away mode",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954673.965912,
- "msecs": 965.9121036529541,
- "relativeCreated": 59862.154483795166,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Away mode): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:53,965"
- }
- ],
- "time_consumption": 0.00011086463928222656
- },
- {
- "name": "__tLogger__",
- "msg": "Temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "20",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954673.9664392,
- "msecs": 966.4392471313477,
- "relativeCreated": 59862.68162727356,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Temperature setpoint is correct (Content 20 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:53,966",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Temperature setpoint",
- "20",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954673.966238,
- "msecs": 966.2380218505859,
- "relativeCreated": 59862.4804019928,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Temperature setpoint): 20 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:53,966"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Temperature setpoint",
- "=",
- "20",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954673.9663436,
- "msecs": 966.3436412811279,
- "relativeCreated": 59862.58602142334,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Temperature setpoint): result = 20 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:53,966"
- }
- ],
- "time_consumption": 9.560585021972656e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Deactivating away mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 119,
- "funcName": "__test_away_mode__",
- "created": 1675954674.2677388,
- "msecs": 267.73881912231445,
- "relativeCreated": 60163.98119926453,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Deactivating away mode",
- "asctime": "2023-02-09 15:57:54,267",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/away_mode",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954673.9667323,
- "msecs": 966.7322635650635,
- "relativeCreated": 59862.974643707275,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/heating_valve/away_mode and payload false",
- "asctime": "2023-02-09 15:57:53,966"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/away_mode",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.9678562,
- "msecs": 967.8561687469482,
- "relativeCreated": 59864.09854888916,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/away_mode and payload b'false'",
- "asctime": "2023-02-09 15:57:53,967"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve/set",
- "b'{\"current_heating_setpoint\": 25}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.979648,
- "msecs": 979.6481132507324,
- "relativeCreated": 59875.890493392944,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
- "asctime": "2023-02-09 15:57:53,979"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954673.980129,
- "msecs": 980.1290035247803,
- "relativeCreated": 59876.37138366699,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:53,980"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
- "b'25'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.9807985,
- "msecs": 980.7984828948975,
- "relativeCreated": 59877.04086303711,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
- "asctime": "2023-02-09 15:57:53,980"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.9815116,
- "msecs": 981.5115928649902,
- "relativeCreated": 59877.7539730072,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:53,981"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.away_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/away_mode",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.9820476,
- "msecs": 982.0475578308105,
- "relativeCreated": 59878.28993797302,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/away_mode and payload b'false'",
- "asctime": "2023-02-09 15:57:53,982"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.9825425,
- "msecs": 982.5425148010254,
- "relativeCreated": 59878.78489494324,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:53,982"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954673.9830322,
- "msecs": 983.0322265625,
- "relativeCreated": 59879.27460670471,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:53,983"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.0293581,
- "msecs": 29.3581485748291,
- "relativeCreated": 59925.60052871704,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:54,029"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.0700033,
- "msecs": 70.00327110290527,
- "relativeCreated": 59966.24565124512,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:54,070"
- }
- ],
- "time_consumption": 0.19773554801940918
- },
- {
- "name": "__tLogger__",
- "msg": "Away mode is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954674.2682984,
- "msecs": 268.2983875274658,
- "relativeCreated": 60164.54076766968,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Away mode is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:54,268",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Away mode",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954674.2680824,
- "msecs": 268.0823802947998,
- "relativeCreated": 60164.32476043701,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Away mode): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:54,268"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Away mode",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954674.2682033,
- "msecs": 268.2032585144043,
- "relativeCreated": 60164.445638656616,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Away mode): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:54,268"
- }
- ],
- "time_consumption": 9.512901306152344e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "25",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954674.268615,
- "msecs": 268.6150074005127,
- "relativeCreated": 60164.857387542725,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Temperature setpoint is correct (Content 25 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:54,268",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Temperature setpoint",
- "25",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954674.268449,
- "msecs": 268.449068069458,
- "relativeCreated": 60164.69144821167,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Temperature setpoint): 25 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:54,268"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Temperature setpoint",
- "=",
- "25",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954674.2685366,
- "msecs": 268.5365676879883,
- "relativeCreated": 60164.7789478302,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Temperature setpoint): result = 25 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:54,268"
- }
- ],
- "time_consumption": 7.843971252441406e-05
- }
- ],
- "time_consumption": 0.9072952270507812,
- "time_start": "2023-02-09 15:57:53,361",
- "time_finished": "2023-02-09 15:57:54,268"
- },
- "Boost mode test: zigbee/gfw/dirk/heating_valve": {
- "name": "__tLogger__",
- "msg": "Boost mode test: zigbee/gfw/dirk/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 128,
- "funcName": "test_boost_mode",
- "created": 1675954674.2690678,
- "msecs": 269.06776428222656,
- "relativeCreated": 60165.31014442444,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Boost mode test: zigbee/gfw/dirk/heating_valve",
- "asctime": "2023-02-09 15:57:54,269",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Default setpoint)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 133,
- "funcName": "__test_boost_mode__",
- "created": 1675954674.5711963,
- "msecs": 571.1963176727295,
- "relativeCreated": 60467.43869781494,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Default setpoint)",
- "asctime": "2023-02-09 15:57:54,571",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954674.2693243,
- "msecs": 269.32430267333984,
- "relativeCreated": 60165.56668281555,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:57:54,269"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.2702146,
- "msecs": 270.2145576477051,
- "relativeCreated": 60166.45693778992,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:57:54,270"
- }
- ],
- "time_consumption": 0.3009817600250244
- },
- {
- "name": "__tLogger__",
- "msg": "Boost timer is correct (Content %s and Type is %s).",
- "args": [
- "0",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954674.5718336,
- "msecs": 571.833610534668,
- "relativeCreated": 60468.07599067688,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:54,571",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Boost timer",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954674.5715878,
- "msecs": 571.5878009796143,
- "relativeCreated": 60467.830181121826,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Boost timer): 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:54,571"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Boost timer",
- "=",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954674.5717266,
- "msecs": 571.7265605926514,
- "relativeCreated": 60467.96894073486,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:54,571"
- }
- ],
- "time_consumption": 0.00010704994201660156
- },
- {
- "name": "__tLogger__",
- "msg": "Activating boost mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 140,
- "funcName": "__test_boost_mode__",
- "created": 1675954674.873081,
- "msecs": 873.0809688568115,
- "relativeCreated": 60769.32334899902,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Activating boost mode",
- "asctime": "2023-02-09 15:57:54,873",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.start_boost",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/start_boost",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954674.5721517,
- "msecs": 572.1516609191895,
- "relativeCreated": 60468.3940410614,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/heating_valve/start_boost and payload true",
- "asctime": "2023-02-09 15:57:54,572"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.start_boost",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/start_boost",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.5732932,
- "msecs": 573.2932090759277,
- "relativeCreated": 60469.53558921814,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/start_boost and payload b'true'",
- "asctime": "2023-02-09 15:57:54,573"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.boost_timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/boost_timer",
- "b'900'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.5855641,
- "msecs": 585.564136505127,
- "relativeCreated": 60481.80651664734,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/boost_timer and payload b'900'",
- "asctime": "2023-02-09 15:57:54,585"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.58627,
- "msecs": 586.2700939178467,
- "relativeCreated": 60482.51247406006,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:54,586"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve/set",
- "b'{\"current_heating_setpoint\": 30}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.5868826,
- "msecs": 586.8825912475586,
- "relativeCreated": 60483.12497138977,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 30}'",
- "asctime": "2023-02-09 15:57:54,586"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954674.587231,
- "msecs": 587.230920791626,
- "relativeCreated": 60483.47330093384,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:54,587"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
- "b'30'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.5877883,
- "msecs": 587.7883434295654,
- "relativeCreated": 60484.03072357178,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'30'",
- "asctime": "2023-02-09 15:57:54,587"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.5884273,
- "msecs": 588.4273052215576,
- "relativeCreated": 60484.66968536377,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:54,588"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.5889354,
- "msecs": 588.935375213623,
- "relativeCreated": 60485.177755355835,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:54,588"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.6336129,
- "msecs": 633.612871170044,
- "relativeCreated": 60529.855251312256,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:54,633"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.6750288,
- "msecs": 675.0288009643555,
- "relativeCreated": 60571.27118110657,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:54,675"
- }
- ],
- "time_consumption": 0.19805216789245605
- },
- {
- "name": "__tLogger__",
- "msg": "Boost timer is greater expectation (Content %s and Type is %s).",
- "args": [
- "900",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 230,
- "funcName": "greater_chk",
- "created": 1675954674.8737063,
- "msecs": 873.7063407897949,
- "relativeCreated": 60769.94872093201,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Boost timer is greater expectation (Content 900 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:54,873",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Boost timer",
- "900",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954674.873459,
- "msecs": 873.4591007232666,
- "relativeCreated": 60769.70148086548,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Boost timer): 900 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:54,873"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Boost timer",
- ">",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954674.8735964,
- "msecs": 873.5964298248291,
- "relativeCreated": 60769.83880996704,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Boost timer): result > 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:54,873"
- }
- ],
- "time_consumption": 0.00010991096496582031
- },
- {
- "name": "__tLogger__",
- "msg": "Setting postconditions (Default setpoint)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 145,
- "funcName": "__test_boost_mode__",
- "created": 1675954675.175565,
- "msecs": 175.56500434875488,
- "relativeCreated": 61071.80738449097,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting postconditions (Default setpoint)",
- "asctime": "2023-02-09 15:57:55,175",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954674.8739817,
- "msecs": 873.9817142486572,
- "relativeCreated": 60770.22409439087,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:57:54,873"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.8751051,
- "msecs": 875.1051425933838,
- "relativeCreated": 60771.347522735596,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:57:54,875"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.boost_timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/boost_timer",
- "b'0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.887698,
- "msecs": 887.6979351043701,
- "relativeCreated": 60783.94031524658,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/boost_timer and payload b'0'",
- "asctime": "2023-02-09 15:57:54,887"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.888292,
- "msecs": 888.2920742034912,
- "relativeCreated": 60784.5344543457,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:54,888"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve/set",
- "b'{\"current_heating_setpoint\": 25}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.8888197,
- "msecs": 888.819694519043,
- "relativeCreated": 60785.062074661255,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
- "asctime": "2023-02-09 15:57:54,888"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954674.8891482,
- "msecs": 889.1482353210449,
- "relativeCreated": 60785.39061546326,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:54,889"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
- "b'25'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.8897085,
- "msecs": 889.7085189819336,
- "relativeCreated": 60785.950899124146,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
- "asctime": "2023-02-09 15:57:54,889"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.8903663,
- "msecs": 890.3663158416748,
- "relativeCreated": 60786.60869598389,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:54,890"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.890882,
- "msecs": 890.8820152282715,
- "relativeCreated": 60787.12439537048,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:54,890"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.9371538,
- "msecs": 937.1538162231445,
- "relativeCreated": 60833.39619636536,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:54,937"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954674.9778726,
- "msecs": 977.8726100921631,
- "relativeCreated": 60874.114990234375,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:54,977"
- }
- ],
- "time_consumption": 0.1976923942565918
- },
- {
- "name": "__tLogger__",
- "msg": "Boost timer is correct (Content %s and Type is %s).",
- "args": [
- "0",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954675.1762495,
- "msecs": 176.24950408935547,
- "relativeCreated": 61072.49188423157,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:55,176",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Boost timer",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954675.175967,
- "msecs": 175.96697807312012,
- "relativeCreated": 61072.20935821533,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Boost timer): 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:55,175"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Boost timer",
- "=",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954675.176141,
- "msecs": 176.14102363586426,
- "relativeCreated": 61072.383403778076,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:55,176"
- }
- ],
- "time_consumption": 0.00010848045349121094
- }
- ],
- "time_consumption": 0.9071817398071289,
- "time_start": "2023-02-09 15:57:54,269",
- "time_finished": "2023-02-09 15:57:55,176"
- },
- "Default temperature test for device and virtual device: zigbee/gfw/dirk/heating_valve": {
- "name": "__tLogger__",
- "msg": "Default temperature test for device and virtual device: zigbee/gfw/dirk/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 50,
- "funcName": "test_default_temperature",
- "created": 1675954675.1767168,
- "msecs": 176.71680450439453,
- "relativeCreated": 61072.95918464661,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Default temperature test for device and virtual device: zigbee/gfw/dirk/heating_valve",
- "asctime": "2023-02-09 15:57:55,176",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Valve setpoint to %.1f)",
- "args": [
- 20
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 60,
- "funcName": "__test_default_temperature__",
- "created": 1675954675.4780712,
- "msecs": 478.0712127685547,
- "relativeCreated": 61374.31359291077,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Valve setpoint to 20.0)",
- "asctime": "2023-02-09 15:57:55,478",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954675.177131,
- "msecs": 177.13093757629395,
- "relativeCreated": 61073.373317718506,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:55,177"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.1782753,
- "msecs": 178.27534675598145,
- "relativeCreated": 61074.51772689819,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:55,178"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve/set",
- "b'{\"current_heating_setpoint\": 20}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.1945736,
- "msecs": 194.57364082336426,
- "relativeCreated": 61090.816020965576,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 20}'",
- "asctime": "2023-02-09 15:57:55,194"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
- "b'20'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.1950057,
- "msecs": 195.0056552886963,
- "relativeCreated": 61091.24803543091,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20'",
- "asctime": "2023-02-09 15:57:55,195"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.195412,
- "msecs": 195.41192054748535,
- "relativeCreated": 61091.6543006897,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:55,195"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/user_temperature_setpoint",
- "b'20'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.195841,
- "msecs": 195.84107398986816,
- "relativeCreated": 61092.08345413208,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'20'",
- "asctime": "2023-02-09 15:57:55,195"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.1963224,
- "msecs": 196.32244110107422,
- "relativeCreated": 61092.564821243286,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:55,196"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.1967618,
- "msecs": 196.7618465423584,
- "relativeCreated": 61093.00422668457,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:55,196"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.197258,
- "msecs": 197.25799560546875,
- "relativeCreated": 61093.50037574768,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:55,197"
- }
- ],
- "time_consumption": 0.28081321716308594
- },
- {
- "name": "__tLogger__",
- "msg": "Valve temperature setpoint (is not default temperature) is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954675.4787464,
- "msecs": 478.7464141845703,
- "relativeCreated": 61374.98879432678,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Valve temperature setpoint (is not default temperature) is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:55,478",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Valve temperature setpoint (is not default temperature)",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954675.4784951,
- "msecs": 478.49512100219727,
- "relativeCreated": 61374.73750114441,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Valve temperature setpoint (is not default temperature)): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:55,478"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Valve temperature setpoint (is not default temperature)",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954675.478637,
- "msecs": 478.6369800567627,
- "relativeCreated": 61374.879360198975,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Valve temperature setpoint (is not default temperature)): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:55,478"
- }
- ],
- "time_consumption": 0.00010943412780761719
- },
- {
- "name": "__tLogger__",
- "msg": "Triggering set to default temperature (%.1f)",
- "args": [
- 25
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 66,
- "funcName": "__test_default_temperature__",
- "created": 1675954675.7810063,
- "msecs": 781.0063362121582,
- "relativeCreated": 61677.24871635437,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Triggering set to default temperature (25.0)",
- "asctime": "2023-02-09 15:57:55,781",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954675.4790633,
- "msecs": 479.0632724761963,
- "relativeCreated": 61375.30565261841,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:57:55,479"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.4801707,
- "msecs": 480.17072677612305,
- "relativeCreated": 61376.413106918335,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:57:55,480"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/user_temperature_setpoint",
- "b'25'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.5015972,
- "msecs": 501.59716606140137,
- "relativeCreated": 61397.83954620361,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'",
- "asctime": "2023-02-09 15:57:55,501"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.5022752,
- "msecs": 502.2752285003662,
- "relativeCreated": 61398.51760864258,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:55,502"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve/set",
- "b'{\"current_heating_setpoint\": 25}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.5027957,
- "msecs": 502.7956962585449,
- "relativeCreated": 61399.03807640076,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
- "asctime": "2023-02-09 15:57:55,502"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954675.5031073,
- "msecs": 503.10730934143066,
- "relativeCreated": 61399.34968948364,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:55,503"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
- "b'25'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.503676,
- "msecs": 503.6759376525879,
- "relativeCreated": 61399.9183177948,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
- "asctime": "2023-02-09 15:57:55,503"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.50439,
- "msecs": 504.39000129699707,
- "relativeCreated": 61400.63238143921,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:55,504"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.505011,
- "msecs": 505.01108169555664,
- "relativeCreated": 61401.25346183777,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:55,505"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.5537415,
- "msecs": 553.741455078125,
- "relativeCreated": 61449.98383522034,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:55,553"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.599023,
- "msecs": 599.0231037139893,
- "relativeCreated": 61495.2654838562,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:55,599"
- }
- ],
- "time_consumption": 0.18198323249816895
- },
- {
- "name": "__tLogger__",
- "msg": "Valve temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "25",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954675.7817585,
- "msecs": 781.7585468292236,
- "relativeCreated": 61678.000926971436,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Valve temperature setpoint is correct (Content 25 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:55,781",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Valve temperature setpoint",
- "25",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954675.7814562,
- "msecs": 781.4562320709229,
- "relativeCreated": 61677.698612213135,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Valve temperature setpoint): 25 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:55,781"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Valve temperature setpoint",
- "=",
- "25",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954675.7816045,
- "msecs": 781.604528427124,
- "relativeCreated": 61677.846908569336,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Valve temperature setpoint): result = 25 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:55,781"
- }
- ],
- "time_consumption": 0.00015401840209960938
- }
- ],
- "time_consumption": 0.6050417423248291,
- "time_start": "2023-02-09 15:57:55,176",
- "time_finished": "2023-02-09 15:57:55,781"
- },
- "Summer mode test: zigbee/gfw/dirk/heating_valve": {
- "name": "__tLogger__",
- "msg": "Summer mode test: zigbee/gfw/dirk/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 74,
- "funcName": "test_summer_mode",
- "created": 1675954675.7822125,
- "msecs": 782.212495803833,
- "relativeCreated": 61678.454875946045,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Summer mode test: zigbee/gfw/dirk/heating_valve",
- "asctime": "2023-02-09 15:57:55,782",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Default setpoint)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 79,
- "funcName": "__test_summer_mode__",
- "created": 1675954676.083326,
- "msecs": 83.32610130310059,
- "relativeCreated": 61979.56848144531,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Default setpoint)",
- "asctime": "2023-02-09 15:57:56,083",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954675.7825296,
- "msecs": 782.5295925140381,
- "relativeCreated": 61678.77197265625,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:57:55,782"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954675.783649,
- "msecs": 783.6489677429199,
- "relativeCreated": 61679.89134788513,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:57:55,783"
- }
- ],
- "time_consumption": 0.29967713356018066
- },
- {
- "name": "__tLogger__",
- "msg": "Summer mode is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954676.0840147,
- "msecs": 84.0146541595459,
- "relativeCreated": 61980.25703430176,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:56,084",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Summer mode",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954676.0837235,
- "msecs": 83.72354507446289,
- "relativeCreated": 61979.965925216675,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Summer mode): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:56,083"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Summer mode",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954676.0838666,
- "msecs": 83.86659622192383,
- "relativeCreated": 61980.108976364136,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Summer mode): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:56,083"
- }
- ],
- "time_consumption": 0.0001480579376220703
- },
- {
- "name": "__tLogger__",
- "msg": "Activating summer mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 86,
- "funcName": "__test_summer_mode__",
- "created": 1675954676.386282,
- "msecs": 386.28196716308594,
- "relativeCreated": 62282.5243473053,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Activating summer mode",
- "asctime": "2023-02-09 15:57:56,386",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/summer_mode",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954676.0843563,
- "msecs": 84.35630798339844,
- "relativeCreated": 61980.59868812561,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/heating_valve/summer_mode and payload true",
- "asctime": "2023-02-09 15:57:56,084"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/summer_mode",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.0853355,
- "msecs": 85.33549308776855,
- "relativeCreated": 61981.57787322998,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/summer_mode and payload b'true'",
- "asctime": "2023-02-09 15:57:56,085"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve/set",
- "b'{\"current_heating_setpoint\": 5}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.1032124,
- "msecs": 103.21235656738281,
- "relativeCreated": 61999.454736709595,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 5}'",
- "asctime": "2023-02-09 15:57:56,103"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954676.1036808,
- "msecs": 103.68084907531738,
- "relativeCreated": 61999.92322921753,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:56,103"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.1043754,
- "msecs": 104.37536239624023,
- "relativeCreated": 62000.61774253845,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'5'",
- "asctime": "2023-02-09 15:57:56,104"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.1051528,
- "msecs": 105.15284538269043,
- "relativeCreated": 62001.3952255249,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:56,105"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/summer_mode",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.1057363,
- "msecs": 105.73625564575195,
- "relativeCreated": 62001.978635787964,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/summer_mode and payload b'true'",
- "asctime": "2023-02-09 15:57:56,105"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.1062984,
- "msecs": 106.29844665527344,
- "relativeCreated": 62002.540826797485,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:56,106"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.1068876,
- "msecs": 106.8875789642334,
- "relativeCreated": 62003.129959106445,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:56,106"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.1495771,
- "msecs": 149.57714080810547,
- "relativeCreated": 62045.81952095032,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:56,149"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.191062,
- "msecs": 191.06197357177734,
- "relativeCreated": 62087.30435371399,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:56,191"
- }
- ],
- "time_consumption": 0.1952199935913086
- },
- {
- "name": "__tLogger__",
- "msg": "Summer mode is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954676.3869274,
- "msecs": 386.92736625671387,
- "relativeCreated": 62283.169746398926,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Summer mode is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:56,386",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Summer mode",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954676.3866801,
- "msecs": 386.68012619018555,
- "relativeCreated": 62282.9225063324,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Summer mode): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:56,386"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Summer mode",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954676.3868184,
- "msecs": 386.81840896606445,
- "relativeCreated": 62283.06078910828,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Summer mode): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:56,386"
- }
- ],
- "time_consumption": 0.00010895729064941406
- },
- {
- "name": "__tLogger__",
- "msg": "Temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954676.3872876,
- "msecs": 387.2876167297363,
- "relativeCreated": 62283.52999687195,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Temperature setpoint is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:56,387",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Temperature setpoint",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954676.3870971,
- "msecs": 387.0971202850342,
- "relativeCreated": 62283.339500427246,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Temperature setpoint): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:56,387"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Temperature setpoint",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954676.387197,
- "msecs": 387.19701766967773,
- "relativeCreated": 62283.43939781189,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Temperature setpoint): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:56,387"
- }
- ],
- "time_consumption": 9.059906005859375e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Deactivating summer mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 92,
- "funcName": "__test_summer_mode__",
- "created": 1675954676.688521,
- "msecs": 688.5209083557129,
- "relativeCreated": 62584.763288497925,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Deactivating summer mode",
- "asctime": "2023-02-09 15:57:56,688",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/summer_mode",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954676.3875723,
- "msecs": 387.5722885131836,
- "relativeCreated": 62283.814668655396,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/heating_valve/summer_mode and payload false",
- "asctime": "2023-02-09 15:57:56,387"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/summer_mode",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.3886905,
- "msecs": 388.6904716491699,
- "relativeCreated": 62284.93285179138,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/summer_mode and payload b'false'",
- "asctime": "2023-02-09 15:57:56,388"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve/set",
- "b'{\"current_heating_setpoint\": 25}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.3998342,
- "msecs": 399.83415603637695,
- "relativeCreated": 62296.07653617859,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
- "asctime": "2023-02-09 15:57:56,399"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954676.4003232,
- "msecs": 400.32315254211426,
- "relativeCreated": 62296.565532684326,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:56,400"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
- "b'25'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.4009862,
- "msecs": 400.9861946105957,
- "relativeCreated": 62297.22857475281,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
- "asctime": "2023-02-09 15:57:56,400"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.401766,
- "msecs": 401.7660617828369,
- "relativeCreated": 62298.00844192505,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:56,401"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.summer_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/summer_mode",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.4023583,
- "msecs": 402.3582935333252,
- "relativeCreated": 62298.60067367554,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/summer_mode and payload b'false'",
- "asctime": "2023-02-09 15:57:56,402"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.4029276,
- "msecs": 402.9276371002197,
- "relativeCreated": 62299.17001724243,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:56,402"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.4039824,
- "msecs": 403.98240089416504,
- "relativeCreated": 62300.22478103638,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:56,403"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.4502113,
- "msecs": 450.2112865447998,
- "relativeCreated": 62346.45366668701,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:56,450"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.4940705,
- "msecs": 494.07052993774414,
- "relativeCreated": 62390.312910079956,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:56,494"
- }
- ],
- "time_consumption": 0.19445037841796875
- },
- {
- "name": "__tLogger__",
- "msg": "Summer mode is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954676.6892488,
- "msecs": 689.24880027771,
- "relativeCreated": 62585.49118041992,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:57:56,689",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Summer mode",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954676.6889157,
- "msecs": 688.9157295227051,
- "relativeCreated": 62585.15810966492,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Summer mode): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:56,688"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Summer mode",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954676.6890895,
- "msecs": 689.0895366668701,
- "relativeCreated": 62585.33191680908,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Summer mode): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:57:56,689"
- }
- ],
- "time_consumption": 0.00015926361083984375
- },
- {
- "name": "__tLogger__",
- "msg": "Temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "25",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954676.689621,
- "msecs": 689.6209716796875,
- "relativeCreated": 62585.8633518219,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Temperature setpoint is correct (Content 25 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:56,689",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Temperature setpoint",
- "25",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954676.689432,
- "msecs": 689.43190574646,
- "relativeCreated": 62585.67428588867,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Temperature setpoint): 25 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:56,689"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Temperature setpoint",
- "=",
- "25",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954676.6895313,
- "msecs": 689.5313262939453,
- "relativeCreated": 62585.77370643616,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Temperature setpoint): result = 25 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:56,689"
- }
- ],
- "time_consumption": 8.96453857421875e-05
- }
- ],
- "time_consumption": 0.9074084758758545,
- "time_start": "2023-02-09 15:57:55,782",
- "time_finished": "2023-02-09 15:57:56,689"
- },
- "User temperature setpoint test for device and virtual device: zigbee/gfw/dirk/heating_valve": {
- "name": "__tLogger__",
- "msg": "User temperature setpoint test for device and virtual device: zigbee/gfw/dirk/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "test_user_temperature_setpoint",
- "created": 1675954676.6900752,
- "msecs": 690.075159072876,
- "relativeCreated": 62586.31753921509,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "User temperature setpoint test for device and virtual device: zigbee/gfw/dirk/heating_valve",
- "asctime": "2023-02-09 15:57:56,690",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Changing valve temperature setpoint to '%.1f'",
- "args": [
- 20
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 33,
- "funcName": "__test_user_temperature_setpoint__",
- "created": 1675954676.9913304,
- "msecs": 991.3303852081299,
- "relativeCreated": 62887.57276535034,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing valve temperature setpoint to '20.0'",
- "asctime": "2023-02-09 15:57:56,991",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954676.6904466,
- "msecs": 690.4466152191162,
- "relativeCreated": 62586.68899536133,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:56,690"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.6915805,
- "msecs": 691.5805339813232,
- "relativeCreated": 62587.822914123535,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:56,691"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve/set",
- "b'{\"current_heating_setpoint\": 20}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.7125041,
- "msecs": 712.5041484832764,
- "relativeCreated": 62608.74652862549,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 20}'",
- "asctime": "2023-02-09 15:57:56,712"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
- "b'20'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.7132406,
- "msecs": 713.2406234741211,
- "relativeCreated": 62609.48300361633,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20'",
- "asctime": "2023-02-09 15:57:56,713"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.7139032,
- "msecs": 713.9031887054443,
- "relativeCreated": 62610.145568847656,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:56,713"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/user_temperature_setpoint",
- "b'20'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.7144682,
- "msecs": 714.468240737915,
- "relativeCreated": 62610.71062088013,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'20'",
- "asctime": "2023-02-09 15:57:56,714"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.7150457,
- "msecs": 715.045690536499,
- "relativeCreated": 62611.28807067871,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:56,715"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.7155788,
- "msecs": 715.5787944793701,
- "relativeCreated": 62611.82117462158,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:56,715"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.7161744,
- "msecs": 716.1743640899658,
- "relativeCreated": 62612.41674423218,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:56,716"
- }
- ],
- "time_consumption": 0.27515602111816406
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
- "args": [
- "20",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954676.9920976,
- "msecs": 992.0976161956787,
- "relativeCreated": 62888.33999633789,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device valve temperature is correct (Content 20 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:56,992",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "20",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954676.9918108,
- "msecs": 991.8107986450195,
- "relativeCreated": 62888.05317878723,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device valve temperature): 20 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:56,991"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "=",
- "20",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954676.9919703,
- "msecs": 991.9703006744385,
- "relativeCreated": 62888.21268081665,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device valve temperature): result = 20 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:56,991"
- }
- ],
- "time_consumption": 0.00012731552124023438
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
- "args": [
- "20",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954676.9925127,
- "msecs": 992.5127029418945,
- "relativeCreated": 62888.75508308411,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device user temperature is correct (Content 20 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:56,992",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device user temperature",
- "20",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954676.992294,
- "msecs": 992.2940731048584,
- "relativeCreated": 62888.53645324707,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device user temperature): 20 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:56,992"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device user temperature",
- "=",
- "20",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954676.9924092,
- "msecs": 992.4092292785645,
- "relativeCreated": 62888.65160942078,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device user temperature): result = 20 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:56,992"
- }
- ],
- "time_consumption": 0.00010347366333007812
- },
- {
- "name": "__tLogger__",
- "msg": "Changing videv user temperature setpoint to '%.1f'",
- "args": [
- 25
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 41,
- "funcName": "__test_user_temperature_setpoint__",
- "created": 1675954677.293869,
- "msecs": 293.8690185546875,
- "relativeCreated": 63190.1113986969,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing videv user temperature setpoint to '25.0'",
- "asctime": "2023-02-09 15:57:57,293",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/user_temperature_setpoint",
- "25"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954676.9928565,
- "msecs": 992.856502532959,
- "relativeCreated": 62889.09888267517,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload 25",
- "asctime": "2023-02-09 15:57:56,992"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/user_temperature_setpoint",
- "b'25'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954676.9942307,
- "msecs": 994.2307472229004,
- "relativeCreated": 62890.47312736511,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'",
- "asctime": "2023-02-09 15:57:56,994"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve/set",
- "b'{\"current_heating_setpoint\": 25}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.0133626,
- "msecs": 13.362646102905273,
- "relativeCreated": 62909.60502624512,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
- "asctime": "2023-02-09 15:57:57,013"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954677.0138292,
- "msecs": 13.829231262207031,
- "relativeCreated": 62910.07161140442,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:57,013"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
- "b'25'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.0145054,
- "msecs": 14.505386352539062,
- "relativeCreated": 62910.74776649475,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
- "asctime": "2023-02-09 15:57:57,014"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.0152683,
- "msecs": 15.268325805664062,
- "relativeCreated": 62911.510705947876,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:57,015"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/user_temperature_setpoint",
- "b'25'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.0158496,
- "msecs": 15.849590301513672,
- "relativeCreated": 62912.091970443726,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'",
- "asctime": "2023-02-09 15:57:57,015"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.0164204,
- "msecs": 16.420364379882812,
- "relativeCreated": 62912.662744522095,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:57,016"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.0169969,
- "msecs": 16.99686050415039,
- "relativeCreated": 62913.23924064636,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:57,016"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.0657787,
- "msecs": 65.77873229980469,
- "relativeCreated": 62962.02111244202,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:57,065"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.1110315,
- "msecs": 111.03153228759766,
- "relativeCreated": 63007.27391242981,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:57,111"
- }
- ],
- "time_consumption": 0.18283748626708984
- },
- {
- "name": "__tLogger__",
- "msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "25",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954677.2945354,
- "msecs": 294.53539848327637,
- "relativeCreated": 63190.77777862549,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Valve device temperature setpoint is correct (Content 25 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:57,294",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Valve device temperature setpoint",
- "25",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954677.2942896,
- "msecs": 294.28958892822266,
- "relativeCreated": 63190.531969070435,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Valve device temperature setpoint): 25 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:57,294"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Valve device temperature setpoint",
- "=",
- "25",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954677.2944295,
- "msecs": 294.4295406341553,
- "relativeCreated": 63190.67192077637,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Valve device temperature setpoint): result = 25 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:57,294"
- }
- ],
- "time_consumption": 0.00010585784912109375
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
- "args": [
- "25",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954677.2948914,
- "msecs": 294.891357421875,
- "relativeCreated": 63191.13373756409,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device valve temperature is correct (Content 25 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:57,294",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "25",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954677.2947054,
- "msecs": 294.7053909301758,
- "relativeCreated": 63190.94777107239,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device valve temperature): 25 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:57,294"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "=",
- "25",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954677.2948034,
- "msecs": 294.8033809661865,
- "relativeCreated": 63191.0457611084,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device valve temperature): result = 25 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:57,294"
- }
- ],
- "time_consumption": 8.797645568847656e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing valve temperature setpoint to '%.1f'",
- "args": [
- 20
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 33,
- "funcName": "__test_user_temperature_setpoint__",
- "created": 1675954677.5961752,
- "msecs": 596.1751937866211,
- "relativeCreated": 63492.41757392883,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing valve temperature setpoint to '20.0'",
- "asctime": "2023-02-09 15:57:57,596",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954677.295191,
- "msecs": 295.19104957580566,
- "relativeCreated": 63191.43342971802,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:57,295"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.2962916,
- "msecs": 296.2915897369385,
- "relativeCreated": 63192.53396987915,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 20, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:57,296"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve/set",
- "b'{\"current_heating_setpoint\": 20}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.3180945,
- "msecs": 318.09449195861816,
- "relativeCreated": 63214.33687210083,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 20}'",
- "asctime": "2023-02-09 15:57:57,318"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
- "b'20'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.3187912,
- "msecs": 318.79115104675293,
- "relativeCreated": 63215.033531188965,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'20'",
- "asctime": "2023-02-09 15:57:57,318"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.3194206,
- "msecs": 319.42057609558105,
- "relativeCreated": 63215.66295623779,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:57,319"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/user_temperature_setpoint",
- "b'20'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.3200138,
- "msecs": 320.01376152038574,
- "relativeCreated": 63216.2561416626,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'20'",
- "asctime": "2023-02-09 15:57:57,320"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.3206012,
- "msecs": 320.601224899292,
- "relativeCreated": 63216.843605041504,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:57,320"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.3211682,
- "msecs": 321.1681842803955,
- "relativeCreated": 63217.41056442261,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:57,321"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.3217645,
- "msecs": 321.7644691467285,
- "relativeCreated": 63218.00684928894,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:57,321"
- }
- ],
- "time_consumption": 0.2744107246398926
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
- "args": [
- "20",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954677.5968325,
- "msecs": 596.8325138092041,
- "relativeCreated": 63493.074893951416,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device valve temperature is correct (Content 20 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:57,596",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "20",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954677.5965917,
- "msecs": 596.5917110443115,
- "relativeCreated": 63492.83409118652,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device valve temperature): 20 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:57,596"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "=",
- "20",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954677.596727,
- "msecs": 596.7268943786621,
- "relativeCreated": 63492.969274520874,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device valve temperature): result = 20 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:57,596"
- }
- ],
- "time_consumption": 0.00010561943054199219
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
- "args": [
- "20",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954677.597267,
- "msecs": 597.2669124603271,
- "relativeCreated": 63493.50929260254,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device user temperature is correct (Content 20 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:57,597",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device user temperature",
- "20",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954677.5970368,
- "msecs": 597.0368385314941,
- "relativeCreated": 63493.279218673706,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device user temperature): 20 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:57,597"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device user temperature",
- "=",
- "20",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954677.5971787,
- "msecs": 597.1786975860596,
- "relativeCreated": 63493.42107772827,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device user temperature): result = 20 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:57,597"
- }
- ],
- "time_consumption": 8.821487426757812e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing videv user temperature setpoint to '%.1f'",
- "args": [
- 25
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 41,
- "funcName": "__test_user_temperature_setpoint__",
- "created": 1675954677.8985188,
- "msecs": 898.5188007354736,
- "relativeCreated": 63794.761180877686,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing videv user temperature setpoint to '25.0'",
- "asctime": "2023-02-09 15:57:57,898",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/user_temperature_setpoint",
- "25"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954677.5975685,
- "msecs": 597.5685119628906,
- "relativeCreated": 63493.8108921051,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload 25",
- "asctime": "2023-02-09 15:57:57,597"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/user_temperature_setpoint",
- "b'25'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.5986834,
- "msecs": 598.6833572387695,
- "relativeCreated": 63494.92573738098,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'",
- "asctime": "2023-02-09 15:57:57,598"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve/set",
- "b'{\"current_heating_setpoint\": 25}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.6168025,
- "msecs": 616.802453994751,
- "relativeCreated": 63513.04483413696,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve/set and payload b'{\"current_heating_setpoint\": 25}'",
- "asctime": "2023-02-09 15:57:57,616"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954677.6173086,
- "msecs": 617.3086166381836,
- "relativeCreated": 63513.550996780396,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/heating_valve and payload {\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:57:57,617"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/valve_temperature_setpoint",
- "b'25'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.6179798,
- "msecs": 617.9797649383545,
- "relativeCreated": 63514.22214508057,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/valve_temperature_setpoint and payload b'25'",
- "asctime": "2023-02-09 15:57:57,617"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.618735,
- "msecs": 618.7350749969482,
- "relativeCreated": 63514.97745513916,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:57,618"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/user_temperature_setpoint",
- "b'25'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.6193185,
- "msecs": 619.3184852600098,
- "relativeCreated": 63515.56086540222,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/user_temperature_setpoint and payload b'25'",
- "asctime": "2023-02-09 15:57:57,619"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.6198828,
- "msecs": 619.8828220367432,
- "relativeCreated": 63516.125202178955,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:57,619"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/heating_valve",
- "b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.620437,
- "msecs": 620.4369068145752,
- "relativeCreated": 63516.67928695679,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/heating_valve and payload b'{\"current_heating_setpoint\": 25, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:57:57,620"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.6657836,
- "msecs": 665.7836437225342,
- "relativeCreated": 63562.026023864746,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:57:57,665"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.710968,
- "msecs": 710.968017578125,
- "relativeCreated": 63607.21039772034,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:57:57,710"
- }
- ],
- "time_consumption": 0.18755078315734863
- },
- {
- "name": "__tLogger__",
- "msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "25",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954677.8992388,
- "msecs": 899.2388248443604,
- "relativeCreated": 63795.48120498657,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Valve device temperature setpoint is correct (Content 25 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:57,899",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Valve device temperature setpoint",
- "25",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954677.8989449,
- "msecs": 898.9448547363281,
- "relativeCreated": 63795.18723487854,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Valve device temperature setpoint): 25 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:57,898"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Valve device temperature setpoint",
- "=",
- "25",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954677.8991172,
- "msecs": 899.1172313690186,
- "relativeCreated": 63795.35961151123,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Valve device temperature setpoint): result = 25 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:57,899"
- }
- ],
- "time_consumption": 0.00012159347534179688
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
- "args": [
- "25",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954677.8996027,
- "msecs": 899.6026515960693,
- "relativeCreated": 63795.84503173828,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device valve temperature is correct (Content 25 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:57,899",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "25",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954677.8994133,
- "msecs": 899.4133472442627,
- "relativeCreated": 63795.655727386475,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device valve temperature): 25 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:57,899"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "=",
- "25",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954677.8995135,
- "msecs": 899.5134830474854,
- "relativeCreated": 63795.7558631897,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device valve temperature): result = 25 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:57,899"
- }
- ],
- "time_consumption": 8.916854858398438e-05
- }
- ],
- "time_consumption": 1.2095274925231934,
- "time_start": "2023-02-09 15:57:56,690",
- "time_finished": "2023-02-09 15:57:57,899"
- },
- "Brightness test for device and virtual device: zigbee/gfw/dirk/main_light": {
- "name": "__tLogger__",
- "msg": "Brightness test for device and virtual device: zigbee/gfw/dirk/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 50,
- "funcName": "test_brightness",
- "created": 1675954677.9001307,
- "msecs": 900.1307487487793,
- "relativeCreated": 63796.37312889099,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Brightness test for device and virtual device: zigbee/gfw/dirk/main_light",
- "asctime": "2023-02-09 15:57:57,900",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 57,
- "funcName": "__test_brightness__",
- "created": 1675954678.2028842,
- "msecs": 202.88419723510742,
- "relativeCreated": 64099.12657737732,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:57:58,202",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954677.9004552,
- "msecs": 900.4552364349365,
- "relativeCreated": 63796.69761657715,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:57,900"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954677.9010262,
- "msecs": 901.0262489318848,
- "relativeCreated": 63797.2686290741,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:57,901"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.9020414,
- "msecs": 902.0414352416992,
- "relativeCreated": 63798.28381538391,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:57,902"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.9027438,
- "msecs": 902.7438163757324,
- "relativeCreated": 63798.986196517944,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:57,902"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.9499013,
- "msecs": 949.9013423919678,
- "relativeCreated": 63846.14372253418,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:57,949"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.9505932,
- "msecs": 950.5932331085205,
- "relativeCreated": 63846.83561325073,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:57,950"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.9511397,
- "msecs": 951.1396884918213,
- "relativeCreated": 63847.38206863403,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:57,951"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.9516435,
- "msecs": 951.6434669494629,
- "relativeCreated": 63847.885847091675,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:57,951"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.952143,
- "msecs": 952.1429538726807,
- "relativeCreated": 63848.38533401489,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:57:57,952"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954677.9526749,
- "msecs": 952.6748657226562,
- "relativeCreated": 63848.91724586487,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:57,952"
- }
- ],
- "time_consumption": 0.25020933151245117
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954678.2035332,
- "msecs": 203.53317260742188,
- "relativeCreated": 64099.775552749634,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:58,203",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954678.2032847,
- "msecs": 203.28474044799805,
- "relativeCreated": 64099.52712059021,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:58,203"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954678.203423,
- "msecs": 203.42302322387695,
- "relativeCreated": 64099.66540336609,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:58,203"
- }
- ],
- "time_consumption": 0.00011014938354492188
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954678.5049334,
- "msecs": 504.93335723876953,
- "relativeCreated": 64401.17573738098,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:58,504",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954678.2038844,
- "msecs": 203.88436317443848,
- "relativeCreated": 64100.12674331665,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:58,203"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954678.205028,
- "msecs": 205.02805709838867,
- "relativeCreated": 64101.2704372406,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:58,205"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954678.2075012,
- "msecs": 207.50117301940918,
- "relativeCreated": 64103.74355316162,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:58,207"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954678.2081704,
- "msecs": 208.17041397094727,
- "relativeCreated": 64104.41279411316,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:58,208"
- }
- ],
- "time_consumption": 0.29676294326782227
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954678.5056546,
- "msecs": 505.65457344055176,
- "relativeCreated": 64401.896953582764,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:58,505",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954678.5054033,
- "msecs": 505.4032802581787,
- "relativeCreated": 64401.64566040039,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:58,505"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954678.5055468,
- "msecs": 505.54680824279785,
- "relativeCreated": 64401.78918838501,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:58,505"
- }
- ],
- "time_consumption": 0.00010776519775390625
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954678.506014,
- "msecs": 506.0141086578369,
- "relativeCreated": 64402.25648880005,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:58,506",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954678.5058262,
- "msecs": 505.8262348175049,
- "relativeCreated": 64402.06861495972,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:58,505"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954678.5059252,
- "msecs": 505.92517852783203,
- "relativeCreated": 64402.167558670044,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:58,505"
- }
- ],
- "time_consumption": 8.893013000488281e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954678.8083074,
- "msecs": 808.307409286499,
- "relativeCreated": 64704.54978942871,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:58,808",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954678.5063488,
- "msecs": 506.3488483428955,
- "relativeCreated": 64402.59122848511,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/main_light/brightness and payload 50",
- "asctime": "2023-02-09 15:57:58,506"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954678.5074627,
- "msecs": 507.462739944458,
- "relativeCreated": 64403.70512008667,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:58,507"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954678.5098774,
- "msecs": 509.87744331359863,
- "relativeCreated": 64406.11982345581,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/main_light/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:58,509"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954678.5103142,
- "msecs": 510.3142261505127,
- "relativeCreated": 64406.556606292725,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:58,510"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954678.5113316,
- "msecs": 511.33155822753906,
- "relativeCreated": 64407.57393836975,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:58,511"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954678.556483,
- "msecs": 556.4830303192139,
- "relativeCreated": 64452.725410461426,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:58,556"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954678.557228,
- "msecs": 557.2280883789062,
- "relativeCreated": 64453.47046852112,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:58,557"
- }
- ],
- "time_consumption": 0.2510793209075928
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954678.8089569,
- "msecs": 808.9568614959717,
- "relativeCreated": 64705.19924163818,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:58,808",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954678.8087134,
- "msecs": 808.713436126709,
- "relativeCreated": 64704.95581626892,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:58,808"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954678.8088496,
- "msecs": 808.849573135376,
- "relativeCreated": 64705.09195327759,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:58,808"
- }
- ],
- "time_consumption": 0.00010728836059570312
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954678.8093953,
- "msecs": 809.3953132629395,
- "relativeCreated": 64705.63769340515,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:58,809",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954678.8091688,
- "msecs": 809.168815612793,
- "relativeCreated": 64705.411195755005,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:58,809"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954678.8093078,
- "msecs": 809.3078136444092,
- "relativeCreated": 64705.55019378662,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:58,809"
- }
- ],
- "time_consumption": 8.749961853027344e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954679.1107056,
- "msecs": 110.70561408996582,
- "relativeCreated": 65006.94799423218,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:57:59,110",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954678.8097427,
- "msecs": 809.7426891326904,
- "relativeCreated": 64705.9850692749,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:58,809"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954678.810818,
- "msecs": 810.8179569244385,
- "relativeCreated": 64707.06033706665,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:58,810"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954678.8133104,
- "msecs": 813.3103847503662,
- "relativeCreated": 64709.55276489258,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:57:58,813"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954678.813979,
- "msecs": 813.978910446167,
- "relativeCreated": 64710.22129058838,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:58,813"
- }
- ],
- "time_consumption": 0.29672670364379883
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954679.111281,
- "msecs": 111.28091812133789,
- "relativeCreated": 65007.52329826355,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:59,111",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954679.1110697,
- "msecs": 111.0696792602539,
- "relativeCreated": 65007.312059402466,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:59,111"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954679.1111877,
- "msecs": 111.18769645690918,
- "relativeCreated": 65007.43007659912,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:59,111"
- }
- ],
- "time_consumption": 9.322166442871094e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954679.111618,
- "msecs": 111.6180419921875,
- "relativeCreated": 65007.8604221344,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:59,111",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954679.1114278,
- "msecs": 111.42778396606445,
- "relativeCreated": 65007.67016410828,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:59,111"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954679.1115415,
- "msecs": 111.5415096282959,
- "relativeCreated": 65007.78388977051,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:59,111"
- }
- ],
- "time_consumption": 7.653236389160156e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954679.4137776,
- "msecs": 413.77758979797363,
- "relativeCreated": 65310.019969940186,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:57:59,413",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954679.1118908,
- "msecs": 111.89079284667969,
- "relativeCreated": 65008.13317298889,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/main_light/brightness and payload 50",
- "asctime": "2023-02-09 15:57:59,111"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954679.1128688,
- "msecs": 112.8687858581543,
- "relativeCreated": 65009.111166000366,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'50'",
- "asctime": "2023-02-09 15:57:59,112"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954679.1143563,
- "msecs": 114.35627937316895,
- "relativeCreated": 65010.59865951538,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/main_light/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:57:59,114"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954679.1147182,
- "msecs": 114.71819877624512,
- "relativeCreated": 65010.96057891846,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:59,114"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954679.1156414,
- "msecs": 115.64135551452637,
- "relativeCreated": 65011.88373565674,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:59,115"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954679.1602542,
- "msecs": 160.25424003601074,
- "relativeCreated": 65056.49662017822,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:57:59,160"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954679.160921,
- "msecs": 160.9210968017578,
- "relativeCreated": 65057.16347694397,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:59,160"
- }
- ],
- "time_consumption": 0.2528564929962158
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954679.4144468,
- "msecs": 414.4468307495117,
- "relativeCreated": 65310.68921089172,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:57:59,414",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954679.4141755,
- "msecs": 414.17551040649414,
- "relativeCreated": 65310.417890548706,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:59,414"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954679.4143376,
- "msecs": 414.3376350402832,
- "relativeCreated": 65310.580015182495,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:57:59,414"
- }
- ],
- "time_consumption": 0.00010919570922851562
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 74,
- "funcName": "__test_brightness__",
- "created": 1675954679.7157032,
- "msecs": 715.7032489776611,
- "relativeCreated": 65611.94562911987,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:57:59,715",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954679.414697,
- "msecs": 414.69693183898926,
- "relativeCreated": 65310.9393119812,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:57:59,414"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954679.4158628,
- "msecs": 415.8627986907959,
- "relativeCreated": 65312.10517883301,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:57:59,415"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954679.4198182,
- "msecs": 419.8181629180908,
- "relativeCreated": 65316.0605430603,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:57:59,419"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954679.420424,
- "msecs": 420.4239845275879,
- "relativeCreated": 65316.6663646698,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:59,420"
- }
- ],
- "time_consumption": 0.29527926445007324
- }
- ],
- "time_consumption": 1.8155725002288818,
- "time_start": "2023-02-09 15:57:57,900",
- "time_finished": "2023-02-09 15:57:59,715"
- },
- "Color temperature test for device and virtual device: zigbee/gfw/dirk/main_light": {
- "name": "__tLogger__",
- "msg": "Color temperature test for device and virtual device: zigbee/gfw/dirk/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 81,
- "funcName": "test_color_temp",
- "created": 1675954679.7164648,
- "msecs": 716.4647579193115,
- "relativeCreated": 65612.70713806152,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Color temperature test for device and virtual device: zigbee/gfw/dirk/main_light",
- "asctime": "2023-02-09 15:57:59,716",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 88,
- "funcName": "__test_color_temp__",
- "created": 1675954680.0181422,
- "msecs": 18.142223358154297,
- "relativeCreated": 65914.38460350037,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:58:00,018",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954679.716813,
- "msecs": 716.8130874633789,
- "relativeCreated": 65613.05546760559,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:57:59,716"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954679.717407,
- "msecs": 717.4069881439209,
- "relativeCreated": 65613.64936828613,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:57:59,717"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954679.7184067,
- "msecs": 718.4066772460938,
- "relativeCreated": 65614.6490573883,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:57:59,718"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954679.719081,
- "msecs": 719.080924987793,
- "relativeCreated": 65615.32330513,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:57:59,719"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954679.7657878,
- "msecs": 765.7878398895264,
- "relativeCreated": 65662.03022003174,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:57:59,765"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954679.7664678,
- "msecs": 766.467809677124,
- "relativeCreated": 65662.71018981934,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:57:59,766"
- }
- ],
- "time_consumption": 0.2516744136810303
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954680.0187697,
- "msecs": 18.76974105834961,
- "relativeCreated": 65915.01212120056,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:00,018",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954680.0185244,
- "msecs": 18.5244083404541,
- "relativeCreated": 65914.76678848267,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:00,018"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954680.0186625,
- "msecs": 18.662452697753906,
- "relativeCreated": 65914.90483283997,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:00,018"
- }
- ],
- "time_consumption": 0.00010728836059570312
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 94,
- "funcName": "__test_color_temp__",
- "created": 1675954680.3202384,
- "msecs": 320.2383518218994,
- "relativeCreated": 66216.48073196411,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device color temperature to '5'",
- "asctime": "2023-02-09 15:58:00,320",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954680.0191202,
- "msecs": 19.120216369628906,
- "relativeCreated": 65915.36259651184,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:00,019"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954680.0202181,
- "msecs": 20.2181339263916,
- "relativeCreated": 65916.4605140686,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:00,020"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/color_temp",
- "b'8.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954680.022701,
- "msecs": 22.701025009155273,
- "relativeCreated": 65918.94340515137,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'8.0'",
- "asctime": "2023-02-09 15:58:00,022"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954680.0234008,
- "msecs": 23.40078353881836,
- "relativeCreated": 65919.64316368103,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:00,023"
- }
- ],
- "time_consumption": 0.29683756828308105
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954680.3209064,
- "msecs": 320.906400680542,
- "relativeCreated": 66217.14878082275,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:00,320",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954680.3206663,
- "msecs": 320.6663131713867,
- "relativeCreated": 66216.9086933136,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:00,320"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954680.3208008,
- "msecs": 320.80078125,
- "relativeCreated": 66217.04316139221,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:00,320"
- }
- ],
- "time_consumption": 0.00010561943054199219
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954680.3213074,
- "msecs": 321.3074207305908,
- "relativeCreated": 66217.5498008728,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:00,321",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954680.3211107,
- "msecs": 321.11072540283203,
- "relativeCreated": 66217.35310554504,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:00,321"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954680.321216,
- "msecs": 321.2161064147949,
- "relativeCreated": 66217.458486557,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:00,321"
- }
- ],
- "time_consumption": 9.131431579589844e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 100,
- "funcName": "__test_color_temp__",
- "created": 1675954680.622468,
- "msecs": 622.4679946899414,
- "relativeCreated": 66518.71037483215,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device color temperature to '5'",
- "asctime": "2023-02-09 15:58:00,622",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954680.3216004,
- "msecs": 321.60043716430664,
- "relativeCreated": 66217.84281730652,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/main_light/color_temp and payload 5",
- "asctime": "2023-02-09 15:58:00,321"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954680.3226888,
- "msecs": 322.6888179779053,
- "relativeCreated": 66218.93119812012,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:58:00,322"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954680.3243556,
- "msecs": 324.3556022644043,
- "relativeCreated": 66220.59798240662,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/main_light/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:58:00,324"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954680.3247693,
- "msecs": 324.7692584991455,
- "relativeCreated": 66221.01163864136,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:00,324"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954680.3263445,
- "msecs": 326.34449005126953,
- "relativeCreated": 66222.58687019348,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:00,326"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954680.3696175,
- "msecs": 369.6174621582031,
- "relativeCreated": 66265.85984230042,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:58:00,369"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954680.3703642,
- "msecs": 370.3641891479492,
- "relativeCreated": 66266.60656929016,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:00,370"
- }
- ],
- "time_consumption": 0.2521038055419922
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954680.623105,
- "msecs": 623.1050491333008,
- "relativeCreated": 66519.34742927551,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:00,623",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954680.6228683,
- "msecs": 622.8682994842529,
- "relativeCreated": 66519.11067962646,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:00,622"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954680.6230004,
- "msecs": 623.0003833770752,
- "relativeCreated": 66519.24276351929,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:00,623"
- }
- ],
- "time_consumption": 0.00010466575622558594
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954680.6234586,
- "msecs": 623.4586238861084,
- "relativeCreated": 66519.70100402832,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:00,623",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954680.623272,
- "msecs": 623.2719421386719,
- "relativeCreated": 66519.51432228088,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:00,623"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954680.6233702,
- "msecs": 623.3701705932617,
- "relativeCreated": 66519.61255073547,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:00,623"
- }
- ],
- "time_consumption": 8.845329284667969e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 94,
- "funcName": "__test_color_temp__",
- "created": 1675954680.9248013,
- "msecs": 924.8013496398926,
- "relativeCreated": 66821.0437297821,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device color temperature to '5'",
- "asctime": "2023-02-09 15:58:00,924",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954680.6237967,
- "msecs": 623.7967014312744,
- "relativeCreated": 66520.03908157349,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:00,623"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954680.6248865,
- "msecs": 624.8865127563477,
- "relativeCreated": 66521.12889289856,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:00,624"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/color_temp",
- "b'8.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954680.6273687,
- "msecs": 627.368688583374,
- "relativeCreated": 66523.61106872559,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'8.0'",
- "asctime": "2023-02-09 15:58:00,627"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954680.6280494,
- "msecs": 628.049373626709,
- "relativeCreated": 66524.29175376892,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:00,628"
- }
- ],
- "time_consumption": 0.2967519760131836
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954680.9254894,
- "msecs": 925.4894256591797,
- "relativeCreated": 66821.73180580139,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:00,925",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954680.925245,
- "msecs": 925.2450466156006,
- "relativeCreated": 66821.48742675781,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:00,925"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954680.9253836,
- "msecs": 925.3835678100586,
- "relativeCreated": 66821.62594795227,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:00,925"
- }
- ],
- "time_consumption": 0.00010585784912109375
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954680.9258637,
- "msecs": 925.8637428283691,
- "relativeCreated": 66822.10612297058,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:00,925",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954680.925655,
- "msecs": 925.6548881530762,
- "relativeCreated": 66821.89726829529,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:00,925"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954680.925748,
- "msecs": 925.7481098175049,
- "relativeCreated": 66821.99048995972,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:00,925"
- }
- ],
- "time_consumption": 0.00011563301086425781
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 100,
- "funcName": "__test_color_temp__",
- "created": 1675954681.2275455,
- "msecs": 227.54549980163574,
- "relativeCreated": 67123.78787994385,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device color temperature to '5'",
- "asctime": "2023-02-09 15:58:01,227",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954680.926155,
- "msecs": 926.1550903320312,
- "relativeCreated": 66822.39747047424,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/main_light/color_temp and payload 5",
- "asctime": "2023-02-09 15:58:00,926"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954680.9272454,
- "msecs": 927.2453784942627,
- "relativeCreated": 66823.48775863647,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:58:00,927"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954680.9288838,
- "msecs": 928.8837909698486,
- "relativeCreated": 66825.12617111206,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/main_light/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:58:00,928"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954680.9293485,
- "msecs": 929.3484687805176,
- "relativeCreated": 66825.59084892273,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:00,929"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954680.930361,
- "msecs": 930.3610324859619,
- "relativeCreated": 66826.60341262817,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:00,930"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954680.9735787,
- "msecs": 973.578691482544,
- "relativeCreated": 66869.82107162476,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:58:00,973"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954680.9743161,
- "msecs": 974.3161201477051,
- "relativeCreated": 66870.55850028992,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:00,974"
- }
- ],
- "time_consumption": 0.25322937965393066
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954681.2282083,
- "msecs": 228.2083034515381,
- "relativeCreated": 67124.45068359375,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:01,228",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954681.2279613,
- "msecs": 227.96130180358887,
- "relativeCreated": 67124.2036819458,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:01,227"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954681.2281017,
- "msecs": 228.1017303466797,
- "relativeCreated": 67124.34411048889,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:01,228"
- }
- ],
- "time_consumption": 0.00010657310485839844
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 105,
- "funcName": "__test_color_temp__",
- "created": 1675954681.5293784,
- "msecs": 529.3784141540527,
- "relativeCreated": 67425.62079429626,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:58:01,529",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954681.2284617,
- "msecs": 228.46174240112305,
- "relativeCreated": 67124.70412254333,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:58:01,228"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954681.2296226,
- "msecs": 229.62260246276855,
- "relativeCreated": 67125.86498260498,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:58:01,229"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954681.2342904,
- "msecs": 234.29036140441895,
- "relativeCreated": 67130.53274154663,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:01,234"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954681.234986,
- "msecs": 234.9860668182373,
- "relativeCreated": 67131.22844696045,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:01,234"
- }
- ],
- "time_consumption": 0.29439234733581543
- }
- ],
- "time_consumption": 1.8129136562347412,
- "time_start": "2023-02-09 15:57:59,716",
- "time_finished": "2023-02-09 15:58:01,529"
- },
- "Power On/ Off test for device and virtual device: shellies/gfw/dirk/main_light": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: shellies/gfw/dirk/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954681.530042,
- "msecs": 530.0419330596924,
- "relativeCreated": 67426.2843132019,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: shellies/gfw/dirk/main_light",
- "asctime": "2023-02-09 15:58:01,530",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954681.530539,
- "msecs": 530.5390357971191,
- "relativeCreated": 67426.78141593933,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:01,530",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954681.53032,
- "msecs": 530.3199291229248,
- "relativeCreated": 67426.56230926514,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:01,530"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954681.5304399,
- "msecs": 530.4398536682129,
- "relativeCreated": 67426.68223381042,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:01,530"
- }
- ],
- "time_consumption": 9.918212890625e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954681.8329904,
- "msecs": 832.9904079437256,
- "relativeCreated": 67729.23278808594,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:58:01,832",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954681.530747,
- "msecs": 530.7469367980957,
- "relativeCreated": 67426.98931694031,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:58:01,530"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954681.5312333,
- "msecs": 531.2333106994629,
- "relativeCreated": 67427.47569084167,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:01,531"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954681.532096,
- "msecs": 532.0959091186523,
- "relativeCreated": 67428.33828926086,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:58:01,532"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954681.532682,
- "msecs": 532.681941986084,
- "relativeCreated": 67428.9243221283,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:01,532"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954681.5778809,
- "msecs": 577.880859375,
- "relativeCreated": 67474.12323951721,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:58:01,577"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954681.5785313,
- "msecs": 578.5312652587891,
- "relativeCreated": 67474.773645401,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:01,578"
- }
- ],
- "time_consumption": 0.2544591426849365
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954681.833628,
- "msecs": 833.6279392242432,
- "relativeCreated": 67729.87031936646,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:01,833",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954681.8334162,
- "msecs": 833.416223526001,
- "relativeCreated": 67729.65860366821,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:01,833"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954681.833535,
- "msecs": 833.5349559783936,
- "relativeCreated": 67729.7773361206,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:01,833"
- }
- ],
- "time_consumption": 9.298324584960938e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954681.833973,
- "msecs": 833.9729309082031,
- "relativeCreated": 67730.21531105042,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:01,833",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954681.8338099,
- "msecs": 833.8098526000977,
- "relativeCreated": 67730.05223274231,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:01,833"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954681.833897,
- "msecs": 833.8971138000488,
- "relativeCreated": 67730.13949394226,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:01,833"
- }
- ],
- "time_consumption": 7.581710815429688e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954682.1353002,
- "msecs": 135.3001594543457,
- "relativeCreated": 68031.54253959656,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:58:02,135",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954681.8342257,
- "msecs": 834.2256546020508,
- "relativeCreated": 67730.46803474426,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/main_light/state and payload false",
- "asctime": "2023-02-09 15:58:01,834"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954681.8352082,
- "msecs": 835.2081775665283,
- "relativeCreated": 67731.45055770874,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:01,835"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954681.836689,
- "msecs": 836.6889953613281,
- "relativeCreated": 67732.93137550354,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:58:01,836"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954681.836988,
- "msecs": 836.9879722595215,
- "relativeCreated": 67733.23035240173,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:58:01,836"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954681.8379705,
- "msecs": 837.970495223999,
- "relativeCreated": 67734.21287536621,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:58:01,837"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954681.927033,
- "msecs": 927.0329475402832,
- "relativeCreated": 67823.2753276825,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:01,927"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954681.9278176,
- "msecs": 927.8175830841064,
- "relativeCreated": 67824.05996322632,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:01,927"
- }
- ],
- "time_consumption": 0.20748257637023926
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954682.135956,
- "msecs": 135.9560489654541,
- "relativeCreated": 68032.19842910767,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:02,135",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954682.135713,
- "msecs": 135.7131004333496,
- "relativeCreated": 68031.95548057556,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:02,135"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954682.1358469,
- "msecs": 135.8468532562256,
- "relativeCreated": 68032.08923339844,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:02,135"
- }
- ],
- "time_consumption": 0.00010919570922851562
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954682.1363125,
- "msecs": 136.31248474121094,
- "relativeCreated": 68032.55486488342,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:02,136",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954682.1361265,
- "msecs": 136.12651824951172,
- "relativeCreated": 68032.36889839172,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:02,136"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954682.1362257,
- "msecs": 136.22570037841797,
- "relativeCreated": 68032.46808052063,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:02,136"
- }
- ],
- "time_consumption": 8.678436279296875e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954682.4389849,
- "msecs": 438.98487091064453,
- "relativeCreated": 68335.22725105286,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:58:02,438",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954682.1365428,
- "msecs": 136.54279708862305,
- "relativeCreated": 68032.78517723083,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:58:02,136"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954682.1371272,
- "msecs": 137.12716102600098,
- "relativeCreated": 68033.36954116821,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/dirk/main_light and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:02,137"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954682.1381521,
- "msecs": 138.1521224975586,
- "relativeCreated": 68034.39450263977,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:58:02,138"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.dirk.main_light",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/dirk/main_light",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954682.138826,
- "msecs": 138.8258934020996,
- "relativeCreated": 68035.06827354431,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/dirk/main_light and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:02,138"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954682.1862288,
- "msecs": 186.22875213623047,
- "relativeCreated": 68082.47113227844,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:58:02,186"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954682.187004,
- "msecs": 187.00408935546875,
- "relativeCreated": 68083.24646949768,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:02,187"
- }
- ],
- "time_consumption": 0.2519807815551758
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954682.4396665,
- "msecs": 439.6665096282959,
- "relativeCreated": 68335.90888977051,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:02,439",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954682.4394202,
- "msecs": 439.420223236084,
- "relativeCreated": 68335.6626033783,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:02,439"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954682.439559,
- "msecs": 439.5589828491211,
- "relativeCreated": 68335.80136299133,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:02,439"
- }
- ],
- "time_consumption": 0.00010752677917480469
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954682.4400222,
- "msecs": 440.02223014831543,
- "relativeCreated": 68336.26461029053,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:02,440",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954682.439839,
- "msecs": 439.8388862609863,
- "relativeCreated": 68336.0812664032,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:02,439"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954682.4399357,
- "msecs": 439.93568420410156,
- "relativeCreated": 68336.17806434631,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:02,439"
- }
- ],
- "time_consumption": 8.654594421386719e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954682.7413046,
- "msecs": 741.3046360015869,
- "relativeCreated": 68637.5470161438,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:58:02,741",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954682.4403067,
- "msecs": 440.3066635131836,
- "relativeCreated": 68336.5490436554,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/main_light/state and payload false",
- "asctime": "2023-02-09 15:58:02,440"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954682.4414213,
- "msecs": 441.4212703704834,
- "relativeCreated": 68337.6636505127,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:02,441"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954682.4430053,
- "msecs": 443.0053234100342,
- "relativeCreated": 68339.24770355225,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:58:02,443"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954682.4433548,
- "msecs": 443.35484504699707,
- "relativeCreated": 68339.59722518921,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/dirk/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:58:02,443"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.dirk.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/dirk/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954682.4444342,
- "msecs": 444.43416595458984,
- "relativeCreated": 68340.6765460968,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/dirk/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:58:02,444"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954682.5341122,
- "msecs": 534.1122150421143,
- "relativeCreated": 68430.35459518433,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:02,534"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954682.53487,
- "msecs": 534.869909286499,
- "relativeCreated": 68431.11228942871,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:02,534"
- }
- ],
- "time_consumption": 0.2064347267150879
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954682.741948,
- "msecs": 741.9478893280029,
- "relativeCreated": 68638.19026947021,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:02,741",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954682.7417111,
- "msecs": 741.7111396789551,
- "relativeCreated": 68637.95351982117,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:02,741"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954682.7418447,
- "msecs": 741.844654083252,
- "relativeCreated": 68638.08703422546,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:02,741"
- }
- ],
- "time_consumption": 0.00010323524475097656
- }
- ],
- "time_consumption": 1.2119059562683105,
- "time_start": "2023-02-09 15:58:01,530",
- "time_finished": "2023-02-09 15:58:02,741"
- },
- "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/4": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/4",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954682.7425237,
- "msecs": 742.5236701965332,
- "relativeCreated": 68638.76605033875,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/4",
- "asctime": "2023-02-09 15:58:02,742",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954682.7429755,
- "msecs": 742.9754734039307,
- "relativeCreated": 68639.21785354614,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:02,742",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954682.742768,
- "msecs": 742.7680492401123,
- "relativeCreated": 68639.01042938232,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:02,742"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954682.7428803,
- "msecs": 742.8803443908691,
- "relativeCreated": 68639.12272453308,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:02,742"
- }
- ],
- "time_consumption": 9.512901306152344e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954683.0443196,
- "msecs": 44.31962966918945,
- "relativeCreated": 68940.5620098114,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:58:03,044",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/4",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954682.7432592,
- "msecs": 743.2591915130615,
- "relativeCreated": 68639.50157165527,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/4 and payload true",
- "asctime": "2023-02-09 15:58:02,743"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/4",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954682.7442985,
- "msecs": 744.2984580993652,
- "relativeCreated": 68640.54083824158,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4 and payload b'true'",
- "asctime": "2023-02-09 15:58:02,744"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/pc_dock/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954682.7464979,
- "msecs": 746.4978694915771,
- "relativeCreated": 68642.74024963379,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/pc_dock/state and payload b'true'",
- "asctime": "2023-02-09 15:58:02,746"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/pc_dock/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954682.747164,
- "msecs": 747.1640110015869,
- "relativeCreated": 68643.4063911438,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/pc_dock/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:02,747"
- }
- ],
- "time_consumption": 0.29715561866760254
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954683.0449662,
- "msecs": 44.96622085571289,
- "relativeCreated": 68941.20860099792,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:03,044",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954683.0447261,
- "msecs": 44.72613334655762,
- "relativeCreated": 68940.96851348877,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:03,044"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954683.0448585,
- "msecs": 44.858455657958984,
- "relativeCreated": 68941.10083580017,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:03,044"
- }
- ],
- "time_consumption": 0.00010776519775390625
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954683.0454028,
- "msecs": 45.40276527404785,
- "relativeCreated": 68941.64514541626,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:03,045",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954683.0451791,
- "msecs": 45.179128646850586,
- "relativeCreated": 68941.42150878906,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:03,045"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954683.0452824,
- "msecs": 45.28236389160156,
- "relativeCreated": 68941.52474403381,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:03,045"
- }
- ],
- "time_consumption": 0.00012040138244628906
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954683.3468137,
- "msecs": 346.8136787414551,
- "relativeCreated": 69243.05605888367,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:58:03,346",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/pc_dock/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954683.045686,
- "msecs": 45.68600654602051,
- "relativeCreated": 68941.92838668823,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/pc_dock/state and payload false",
- "asctime": "2023-02-09 15:58:03,045"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/pc_dock/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.0467844,
- "msecs": 46.784400939941406,
- "relativeCreated": 68943.02678108215,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/pc_dock/state and payload b'false'",
- "asctime": "2023-02-09 15:58:03,046"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/4/set",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.0484707,
- "msecs": 48.47073554992676,
- "relativeCreated": 68944.71311569214,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4/set and payload b'false'",
- "asctime": "2023-02-09 15:58:03,048"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/4",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954683.0488133,
- "msecs": 48.8133430480957,
- "relativeCreated": 68945.05572319031,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/4 and payload false",
- "asctime": "2023-02-09 15:58:03,048"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/4",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.0498624,
- "msecs": 49.86238479614258,
- "relativeCreated": 68946.10476493835,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4 and payload b'false'",
- "asctime": "2023-02-09 15:58:03,049"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/pc_dock/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.0935767,
- "msecs": 93.57666969299316,
- "relativeCreated": 68989.8190498352,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/pc_dock/state and payload b'false'",
- "asctime": "2023-02-09 15:58:03,093"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/pc_dock/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.0943167,
- "msecs": 94.31672096252441,
- "relativeCreated": 68990.55910110474,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/pc_dock/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:03,094"
- }
- ],
- "time_consumption": 0.25249695777893066
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954683.3475053,
- "msecs": 347.5053310394287,
- "relativeCreated": 69243.74771118164,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:03,347",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954683.347225,
- "msecs": 347.2249507904053,
- "relativeCreated": 69243.46733093262,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:03,347"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954683.3473961,
- "msecs": 347.3961353302002,
- "relativeCreated": 69243.63851547241,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:03,347"
- }
- ],
- "time_consumption": 0.00010919570922851562
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954683.3478673,
- "msecs": 347.8672504425049,
- "relativeCreated": 69244.10963058472,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:03,347",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954683.347679,
- "msecs": 347.67889976501465,
- "relativeCreated": 69243.92127990723,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:03,347"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954683.3477786,
- "msecs": 347.7785587310791,
- "relativeCreated": 69244.02093887329,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:03,347"
- }
- ],
- "time_consumption": 8.869171142578125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954683.6500509,
- "msecs": 650.0508785247803,
- "relativeCreated": 69546.29325866699,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:58:03,650",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/4",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954683.348129,
- "msecs": 348.1290340423584,
- "relativeCreated": 69244.37141418457,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/4 and payload true",
- "asctime": "2023-02-09 15:58:03,348"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/4",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.3492124,
- "msecs": 349.2124080657959,
- "relativeCreated": 69245.45478820801,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4 and payload b'true'",
- "asctime": "2023-02-09 15:58:03,349"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/pc_dock/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.3513997,
- "msecs": 351.39966011047363,
- "relativeCreated": 69247.64204025269,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/pc_dock/state and payload b'true'",
- "asctime": "2023-02-09 15:58:03,351"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/pc_dock/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.3520536,
- "msecs": 352.0536422729492,
- "relativeCreated": 69248.29602241516,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/pc_dock/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:03,352"
- }
- ],
- "time_consumption": 0.29799723625183105
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954683.6507268,
- "msecs": 650.7267951965332,
- "relativeCreated": 69546.96917533875,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:03,650",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954683.6504567,
- "msecs": 650.4566669464111,
- "relativeCreated": 69546.69904708862,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:03,650"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954683.6505885,
- "msecs": 650.5885124206543,
- "relativeCreated": 69546.83089256287,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:03,650"
- }
- ],
- "time_consumption": 0.00013828277587890625
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954683.6510904,
- "msecs": 651.0903835296631,
- "relativeCreated": 69547.33276367188,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:03,651",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954683.650905,
- "msecs": 650.9048938751221,
- "relativeCreated": 69547.14727401733,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:03,650"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954683.651003,
- "msecs": 651.0028839111328,
- "relativeCreated": 69547.24526405334,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:03,651"
- }
- ],
- "time_consumption": 8.749961853027344e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954683.95219,
- "msecs": 952.1899223327637,
- "relativeCreated": 69848.43230247498,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:58:03,952",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/pc_dock/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954683.6513631,
- "msecs": 651.3631343841553,
- "relativeCreated": 69547.60551452637,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/dirk/pc_dock/state and payload false",
- "asctime": "2023-02-09 15:58:03,651"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/pc_dock/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.6524773,
- "msecs": 652.4772644042969,
- "relativeCreated": 69548.71964454651,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/pc_dock/state and payload b'false'",
- "asctime": "2023-02-09 15:58:03,652"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/4/set",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.6541207,
- "msecs": 654.120683670044,
- "relativeCreated": 69550.36306381226,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4/set and payload b'false'",
- "asctime": "2023-02-09 15:58:03,654"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/4",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954683.6544719,
- "msecs": 654.4718742370605,
- "relativeCreated": 69550.71425437927,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic my_apps/gfw/dirk/powerplug/output/4 and payload false",
- "asctime": "2023-02-09 15:58:03,654"
- },
- {
- "name": "smart_brain.mqtt.my_apps.gfw.dirk.powerplug.output.4",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "my_apps/gfw/dirk/powerplug/output/4",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.6554837,
- "msecs": 655.4837226867676,
- "relativeCreated": 69551.72610282898,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic my_apps/gfw/dirk/powerplug/output/4 and payload b'false'",
- "asctime": "2023-02-09 15:58:03,655"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/pc_dock/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.7000124,
- "msecs": 700.0124454498291,
- "relativeCreated": 69596.25482559204,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/pc_dock/state and payload b'false'",
- "asctime": "2023-02-09 15:58:03,700"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.dirk.pc_dock.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/dirk/pc_dock/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.7007275,
- "msecs": 700.7274627685547,
- "relativeCreated": 69596.96984291077,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/dirk/pc_dock/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:03,700"
- }
- ],
- "time_consumption": 0.251462459564209
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954683.9527981,
- "msecs": 952.7981281280518,
- "relativeCreated": 69849.04050827026,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:03,952",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954683.952587,
- "msecs": 952.5868892669678,
- "relativeCreated": 69848.82926940918,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:03,952"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954683.9527056,
- "msecs": 952.7056217193604,
- "relativeCreated": 69848.94800186157,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:03,952"
- }
- ],
- "time_consumption": 9.250640869140625e-05
- }
- ],
- "time_consumption": 1.2102744579315186,
- "time_start": "2023-02-09 15:58:02,742",
- "time_finished": "2023-02-09 15:58:03,952"
- },
- "Brightness test for device and virtual device: zigbee/gfw/floor/main_light_1": {
- "name": "__tLogger__",
- "msg": "Brightness test for device and virtual device: zigbee/gfw/floor/main_light_1",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 50,
- "funcName": "test_brightness",
- "created": 1675954683.9532967,
- "msecs": 953.2966613769531,
- "relativeCreated": 69849.53904151917,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Brightness test for device and virtual device: zigbee/gfw/floor/main_light_1",
- "asctime": "2023-02-09 15:58:03,953",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 57,
- "funcName": "__test_brightness__",
- "created": 1675954684.255554,
- "msecs": 255.5539608001709,
- "relativeCreated": 70151.79634094238,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:58:04,255",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954683.9536085,
- "msecs": 953.608512878418,
- "relativeCreated": 69849.85089302063,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:58:03,953"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.9546435,
- "msecs": 954.6434879302979,
- "relativeCreated": 69850.88586807251,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:58:03,954"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.get",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1/get",
- "b'{\"state\": \"\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.957175,
- "msecs": 957.1750164031982,
- "relativeCreated": 69853.41739654541,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'",
- "asctime": "2023-02-09 15:58:03,957"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954683.9575005,
- "msecs": 957.5004577636719,
- "relativeCreated": 69853.74283790588,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:03,957"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.get",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2/get",
- "b'{\"state\": \"\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.9581633,
- "msecs": 958.1632614135742,
- "relativeCreated": 69854.40564155579,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'",
- "asctime": "2023-02-09 15:58:03,958"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954683.9584384,
- "msecs": 958.4383964538574,
- "relativeCreated": 69854.68077659607,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:03,958"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.9591231,
- "msecs": 959.1231346130371,
- "relativeCreated": 69855.36551475525,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:58:03,959"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.959665,
- "msecs": 959.665060043335,
- "relativeCreated": 69855.90744018555,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:03,959"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.9601395,
- "msecs": 960.1395130157471,
- "relativeCreated": 69856.38189315796,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:03,960"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954683.9606051,
- "msecs": 960.6051445007324,
- "relativeCreated": 69856.84752464294,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:03,960"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954684.0023315,
- "msecs": 2.3314952850341797,
- "relativeCreated": 69898.57387542725,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:58:04,002"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954684.0030234,
- "msecs": 3.023386001586914,
- "relativeCreated": 69899.2657661438,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:04,003"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954684.0035653,
- "msecs": 3.5653114318847656,
- "relativeCreated": 69899.8076915741,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:58:04,003"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954684.0040975,
- "msecs": 4.097461700439453,
- "relativeCreated": 69900.33984184265,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:04,004"
- }
- ],
- "time_consumption": 0.25145649909973145
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954684.256168,
- "msecs": 256.1678886413574,
- "relativeCreated": 70152.41026878357,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:04,256",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954684.255917,
- "msecs": 255.91707229614258,
- "relativeCreated": 70152.15945243835,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:04,255"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954684.256038,
- "msecs": 256.03795051574707,
- "relativeCreated": 70152.28033065796,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:04,256"
- }
- ],
- "time_consumption": 0.00012993812561035156
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954684.557608,
- "msecs": 557.607889175415,
- "relativeCreated": 70453.85026931763,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:58:04,557",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954684.256504,
- "msecs": 256.5040588378906,
- "relativeCreated": 70152.7464389801,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:04,256"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954684.2575312,
- "msecs": 257.53116607666016,
- "relativeCreated": 70153.77354621887,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:04,257"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954684.2597225,
- "msecs": 259.7224712371826,
- "relativeCreated": 70155.9648513794,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:58:04,259"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954684.2603421,
- "msecs": 260.3421211242676,
- "relativeCreated": 70156.58450126648,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:04,260"
- }
- ],
- "time_consumption": 0.29726576805114746
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954684.5582917,
- "msecs": 558.2916736602783,
- "relativeCreated": 70454.53405380249,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:04,558",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954684.5580084,
- "msecs": 558.0084323883057,
- "relativeCreated": 70454.25081253052,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:04,558"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954684.5581417,
- "msecs": 558.1417083740234,
- "relativeCreated": 70454.38408851624,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:04,558"
- }
- ],
- "time_consumption": 0.0001499652862548828
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954684.5586805,
- "msecs": 558.680534362793,
- "relativeCreated": 70454.922914505,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:04,558",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954684.558471,
- "msecs": 558.4709644317627,
- "relativeCreated": 70454.71334457397,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:04,558"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954684.5585847,
- "msecs": 558.5846900939941,
- "relativeCreated": 70454.8270702362,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:04,558"
- }
- ],
- "time_consumption": 9.584426879882812e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954684.8608637,
- "msecs": 860.8636856079102,
- "relativeCreated": 70757.10606575012,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:58:04,860",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954684.5589678,
- "msecs": 558.9678287506104,
- "relativeCreated": 70455.21020889282,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/floor/main_light/brightness and payload 50",
- "asctime": "2023-02-09 15:58:04,558"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954684.5600724,
- "msecs": 560.0724220275879,
- "relativeCreated": 70456.3148021698,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50'",
- "asctime": "2023-02-09 15:58:04,560"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954684.5628622,
- "msecs": 562.8621578216553,
- "relativeCreated": 70459.10453796387,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:58:04,562"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954684.5632455,
- "msecs": 563.2455348968506,
- "relativeCreated": 70459.48791503906,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:04,563"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954684.5639648,
- "msecs": 563.96484375,
- "relativeCreated": 70460.20722389221,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:58:04,563"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954684.5649116,
- "msecs": 564.9116039276123,
- "relativeCreated": 70461.15398406982,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:04,564"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954684.6091607,
- "msecs": 609.1606616973877,
- "relativeCreated": 70505.4030418396,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:58:04,609"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954684.6098778,
- "msecs": 609.8778247833252,
- "relativeCreated": 70506.12020492554,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:04,609"
- }
- ],
- "time_consumption": 0.25098586082458496
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954684.8615196,
- "msecs": 861.5195751190186,
- "relativeCreated": 70757.76195526123,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:04,861",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954684.861304,
- "msecs": 861.3040447235107,
- "relativeCreated": 70757.54642486572,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:04,861"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954684.8614275,
- "msecs": 861.4275455474854,
- "relativeCreated": 70757.6699256897,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:04,861"
- }
- ],
- "time_consumption": 9.202957153320312e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954684.8618538,
- "msecs": 861.853837966919,
- "relativeCreated": 70758.09621810913,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:04,861",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954684.8616636,
- "msecs": 861.6635799407959,
- "relativeCreated": 70757.90596008301,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:04,861"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954684.8617482,
- "msecs": 861.748218536377,
- "relativeCreated": 70757.99059867859,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:04,861"
- }
- ],
- "time_consumption": 0.00010561943054199219
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device brightness to '%d'",
- "args": [
- 65
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 63,
- "funcName": "__test_brightness__",
- "created": 1675954685.1632338,
- "msecs": 163.23375701904297,
- "relativeCreated": 71059.47613716125,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device brightness to '65'",
- "asctime": "2023-02-09 15:58:05,163",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954684.8621626,
- "msecs": 862.1625900268555,
- "relativeCreated": 70758.40497016907,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:04,862"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954684.8631363,
- "msecs": 863.1362915039062,
- "relativeCreated": 70759.37867164612,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 165.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:04,863"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/brightness",
- "b'65.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954684.8653631,
- "msecs": 865.3631210327148,
- "relativeCreated": 70761.60550117493,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'65.0'",
- "asctime": "2023-02-09 15:58:04,865"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954684.8659604,
- "msecs": 865.9603595733643,
- "relativeCreated": 70762.20273971558,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:04,865"
- }
- ],
- "time_consumption": 0.2972733974456787
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954685.1638463,
- "msecs": 163.84625434875488,
- "relativeCreated": 71060.08863449097,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:05,163",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954685.163595,
- "msecs": 163.59496116638184,
- "relativeCreated": 71059.8373413086,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:05,163"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954685.1637511,
- "msecs": 163.75112533569336,
- "relativeCreated": 71059.9935054779,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:05,163"
- }
- ],
- "time_consumption": 9.512901306152344e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "65",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954685.1641674,
- "msecs": 164.1674041748047,
- "relativeCreated": 71060.40978431702,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 65 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:05,164",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954685.164001,
- "msecs": 164.0009880065918,
- "relativeCreated": 71060.2433681488,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:05,164"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "65",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954685.1640902,
- "msecs": 164.09015655517578,
- "relativeCreated": 71060.33253669739,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 65 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:05,164"
- }
- ],
- "time_consumption": 7.724761962890625e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 69,
- "funcName": "__test_brightness__",
- "created": 1675954685.4662907,
- "msecs": 466.2907123565674,
- "relativeCreated": 71362.53309249878,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device brightness to '50'",
- "asctime": "2023-02-09 15:58:05,466",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954685.1644263,
- "msecs": 164.42632675170898,
- "relativeCreated": 71060.66870689392,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/floor/main_light/brightness and payload 50",
- "asctime": "2023-02-09 15:58:05,164"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954685.165449,
- "msecs": 165.4489040374756,
- "relativeCreated": 71061.69128417969,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50'",
- "asctime": "2023-02-09 15:58:05,165"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954685.1672628,
- "msecs": 167.26279258728027,
- "relativeCreated": 71063.50517272949,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:58:05,167"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954685.1676054,
- "msecs": 167.60540008544922,
- "relativeCreated": 71063.84778022766,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:05,167"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954685.1682158,
- "msecs": 168.21575164794922,
- "relativeCreated": 71064.45813179016,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:58:05,168"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954685.1690388,
- "msecs": 169.0387725830078,
- "relativeCreated": 71065.28115272522,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:05,169"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954685.213095,
- "msecs": 213.09494972229004,
- "relativeCreated": 71109.3373298645,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:58:05,213"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954685.213764,
- "msecs": 213.76395225524902,
- "relativeCreated": 71110.00633239746,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:05,213"
- }
- ],
- "time_consumption": 0.25252676010131836
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954685.4668946,
- "msecs": 466.89462661743164,
- "relativeCreated": 71363.13700675964,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:05,466",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954685.4666762,
- "msecs": 466.6762351989746,
- "relativeCreated": 71362.91861534119,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:05,466"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954685.4668002,
- "msecs": 466.8002128601074,
- "relativeCreated": 71363.04259300232,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:05,466"
- }
- ],
- "time_consumption": 9.441375732421875e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 74,
- "funcName": "__test_brightness__",
- "created": 1675954685.768115,
- "msecs": 768.1150436401367,
- "relativeCreated": 71664.35742378235,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:58:05,768",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954685.4671152,
- "msecs": 467.1151638031006,
- "relativeCreated": 71363.35754394531,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:58:05,467"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954685.4681451,
- "msecs": 468.14513206481934,
- "relativeCreated": 71364.38751220703,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:58:05,468"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954685.4700398,
- "msecs": 470.03984451293945,
- "relativeCreated": 71366.28222465515,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:05,470"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954685.4706228,
- "msecs": 470.6227779388428,
- "relativeCreated": 71366.86515808105,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:05,470"
- }
- ],
- "time_consumption": 0.29749226570129395
- }
- ],
- "time_consumption": 1.8148183822631836,
- "time_start": "2023-02-09 15:58:03,953",
- "time_finished": "2023-02-09 15:58:05,768"
- },
- "Color temperature test for device and virtual device: zigbee/gfw/floor/main_light_1": {
- "name": "__tLogger__",
- "msg": "Color temperature test for device and virtual device: zigbee/gfw/floor/main_light_1",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 81,
- "funcName": "test_color_temp",
- "created": 1675954685.7687771,
- "msecs": 768.7771320343018,
- "relativeCreated": 71665.01951217651,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Color temperature test for device and virtual device: zigbee/gfw/floor/main_light_1",
- "asctime": "2023-02-09 15:58:05,768",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Power on)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 88,
- "funcName": "__test_color_temp__",
- "created": 1675954686.0710423,
- "msecs": 71.04229927062988,
- "relativeCreated": 71967.28467941284,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Power on)",
- "asctime": "2023-02-09 15:58:06,071",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954685.7690883,
- "msecs": 769.0882682800293,
- "relativeCreated": 71665.33064842224,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:58:05,769"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954685.7702093,
- "msecs": 770.2093124389648,
- "relativeCreated": 71666.45169258118,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:58:05,770"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.get",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1/get",
- "b'{\"state\": \"\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954685.7725446,
- "msecs": 772.5446224212646,
- "relativeCreated": 71668.78700256348,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'",
- "asctime": "2023-02-09 15:58:05,772"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954685.7728596,
- "msecs": 772.8595733642578,
- "relativeCreated": 71669.10195350647,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:05,772"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.get",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2/get",
- "b'{\"state\": \"\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954685.773509,
- "msecs": 773.5090255737305,
- "relativeCreated": 71669.75140571594,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'",
- "asctime": "2023-02-09 15:58:05,773"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954685.7737777,
- "msecs": 773.7777233123779,
- "relativeCreated": 71670.02010345459,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:05,773"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954685.7744372,
- "msecs": 774.4371891021729,
- "relativeCreated": 71670.67956924438,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:58:05,774"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954685.7749732,
- "msecs": 774.9731540679932,
- "relativeCreated": 71671.2155342102,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:05,774"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954685.775454,
- "msecs": 775.454044342041,
- "relativeCreated": 71671.69642448425,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:05,775"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954685.7759142,
- "msecs": 775.914192199707,
- "relativeCreated": 71672.15657234192,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:05,775"
- }
- ],
- "time_consumption": 0.29512810707092285
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954686.0716877,
- "msecs": 71.68769836425781,
- "relativeCreated": 71967.93007850647,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:06,071",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954686.0714436,
- "msecs": 71.44355773925781,
- "relativeCreated": 71967.68593788147,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:06,071"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954686.071581,
- "msecs": 71.58088684082031,
- "relativeCreated": 71967.82326698303,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:06,071"
- }
- ],
- "time_consumption": 0.0001068115234375
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 94,
- "funcName": "__test_color_temp__",
- "created": 1675954686.3731768,
- "msecs": 373.17681312561035,
- "relativeCreated": 72269.41919326782,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device color temperature to '5'",
- "asctime": "2023-02-09 15:58:06,373",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954686.0720437,
- "msecs": 72.04365730285645,
- "relativeCreated": 71968.28603744507,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:06,072"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954686.0731857,
- "msecs": 73.18568229675293,
- "relativeCreated": 71969.42806243896,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:06,073"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/color_temp",
- "b'8.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954686.0756464,
- "msecs": 75.64640045166016,
- "relativeCreated": 71971.88878059387,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'8.0'",
- "asctime": "2023-02-09 15:58:06,075"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954686.0763147,
- "msecs": 76.31468772888184,
- "relativeCreated": 71972.5570678711,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:06,076"
- }
- ],
- "time_consumption": 0.2968621253967285
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954686.3738198,
- "msecs": 373.81982803344727,
- "relativeCreated": 72270.06220817566,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:06,373",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954686.3735838,
- "msecs": 373.5837936401367,
- "relativeCreated": 72269.82617378235,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:06,373"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954686.3737166,
- "msecs": 373.7165927886963,
- "relativeCreated": 72269.95897293091,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:06,373"
- }
- ],
- "time_consumption": 0.00010323524475097656
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954686.3742342,
- "msecs": 374.2341995239258,
- "relativeCreated": 72270.47657966614,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:06,374",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954686.3739862,
- "msecs": 373.98624420166016,
- "relativeCreated": 72270.22862434387,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:06,373"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954686.3741453,
- "msecs": 374.1452693939209,
- "relativeCreated": 72270.38764953613,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:06,374"
- }
- ],
- "time_consumption": 8.893013000488281e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 100,
- "funcName": "__test_color_temp__",
- "created": 1675954686.6764405,
- "msecs": 676.4404773712158,
- "relativeCreated": 72572.68285751343,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device color temperature to '5'",
- "asctime": "2023-02-09 15:58:06,676",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954686.3745275,
- "msecs": 374.5274543762207,
- "relativeCreated": 72270.76983451843,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/floor/main_light/color_temp and payload 5",
- "asctime": "2023-02-09 15:58:06,374"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954686.3756166,
- "msecs": 375.61655044555664,
- "relativeCreated": 72271.85893058777,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:58:06,375"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954686.3777404,
- "msecs": 377.74038314819336,
- "relativeCreated": 72273.9827632904,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:58:06,377"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954686.3781555,
- "msecs": 378.1554698944092,
- "relativeCreated": 72274.39785003662,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:06,378"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954686.3788524,
- "msecs": 378.85236740112305,
- "relativeCreated": 72275.09474754333,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:58:06,378"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954686.3797817,
- "msecs": 379.78172302246094,
- "relativeCreated": 72276.02410316467,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:06,379"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954686.4255874,
- "msecs": 425.58741569519043,
- "relativeCreated": 72321.8297958374,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:58:06,425"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954686.4262307,
- "msecs": 426.23066902160645,
- "relativeCreated": 72322.47304916382,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:06,426"
- }
- ],
- "time_consumption": 0.2502098083496094
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954686.6771543,
- "msecs": 677.1543025970459,
- "relativeCreated": 72573.39668273926,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:06,677",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954686.6768801,
- "msecs": 676.8801212310791,
- "relativeCreated": 72573.12250137329,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:06,676"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954686.677014,
- "msecs": 677.0141124725342,
- "relativeCreated": 72573.25649261475,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:06,677"
- }
- ],
- "time_consumption": 0.00014019012451171875
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954686.6775122,
- "msecs": 677.5121688842773,
- "relativeCreated": 72573.75454902649,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:06,677",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954686.6773286,
- "msecs": 677.3285865783691,
- "relativeCreated": 72573.57096672058,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:06,677"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954686.6774254,
- "msecs": 677.4253845214844,
- "relativeCreated": 72573.6677646637,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:06,677"
- }
- ],
- "time_consumption": 8.678436279296875e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing light device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 94,
- "funcName": "__test_color_temp__",
- "created": 1675954686.9789767,
- "msecs": 978.9767265319824,
- "relativeCreated": 72875.2191066742,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing light device color temperature to '5'",
- "asctime": "2023-02-09 15:58:06,978",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954686.6778657,
- "msecs": 677.865743637085,
- "relativeCreated": 72574.1081237793,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:06,677"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954686.6789527,
- "msecs": 678.952693939209,
- "relativeCreated": 72575.19507408142,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 413.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:06,678"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/color_temp",
- "b'8.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954686.6814725,
- "msecs": 681.4725399017334,
- "relativeCreated": 72577.71492004395,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'8.0'",
- "asctime": "2023-02-09 15:58:06,681"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954686.6821184,
- "msecs": 682.1184158325195,
- "relativeCreated": 72578.36079597473,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:06,682"
- }
- ],
- "time_consumption": 0.2968583106994629
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device color temperature is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954686.9795804,
- "msecs": 979.5804023742676,
- "relativeCreated": 72875.82278251648,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device color temperature is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:06,979",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device color temperature",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954686.979365,
- "msecs": 979.3651103973389,
- "relativeCreated": 72875.60749053955,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device color temperature): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:06,979"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device color temperature",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954686.979487,
- "msecs": 979.4869422912598,
- "relativeCreated": 72875.72932243347,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device color temperature): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:06,979"
- }
- ],
- "time_consumption": 9.34600830078125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "8",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954686.979915,
- "msecs": 979.9149036407471,
- "relativeCreated": 72876.15728378296,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 8 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:06,979",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954686.979742,
- "msecs": 979.7420501708984,
- "relativeCreated": 72875.98443031311,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:06,979"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "8",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954686.9798286,
- "msecs": 979.8285961151123,
- "relativeCreated": 72876.07097625732,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 8 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:06,979"
- }
- ],
- "time_consumption": 8.630752563476562e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 100,
- "funcName": "__test_color_temp__",
- "created": 1675954687.282017,
- "msecs": 282.0169925689697,
- "relativeCreated": 73178.25937271118,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device color temperature to '5'",
- "asctime": "2023-02-09 15:58:07,282",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954686.9801693,
- "msecs": 980.1692962646484,
- "relativeCreated": 72876.41167640686,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/floor/main_light/color_temp and payload 5",
- "asctime": "2023-02-09 15:58:06,980"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954686.9811795,
- "msecs": 981.1794757843018,
- "relativeCreated": 72877.42185592651,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:58:06,981"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954686.9830549,
- "msecs": 983.0548763275146,
- "relativeCreated": 72879.29725646973,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:58:06,983"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954686.9833994,
- "msecs": 983.3993911743164,
- "relativeCreated": 72879.64177131653,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:06,983"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954686.9840157,
- "msecs": 984.015703201294,
- "relativeCreated": 72880.2580833435,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:58:06,984"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954686.9848619,
- "msecs": 984.8618507385254,
- "relativeCreated": 72881.10423088074,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:06,984"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954687.029103,
- "msecs": 29.10304069519043,
- "relativeCreated": 72925.3454208374,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:58:07,029"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954687.029751,
- "msecs": 29.751062393188477,
- "relativeCreated": 72925.9934425354,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:07,029"
- }
- ],
- "time_consumption": 0.25226593017578125
- },
- {
- "name": "__tLogger__",
- "msg": "Light device brightness is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954687.2825918,
- "msecs": 282.5918197631836,
- "relativeCreated": 73178.8341999054,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Light device brightness is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:07,282",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Light device brightness",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954687.2823822,
- "msecs": 282.3822498321533,
- "relativeCreated": 73178.62462997437,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Light device brightness): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:07,282"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Light device brightness",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954687.2824986,
- "msecs": 282.4985980987549,
- "relativeCreated": 73178.74097824097,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Light device brightness): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:07,282"
- }
- ],
- "time_consumption": 9.322166442871094e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting precondition (Power off)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 105,
- "funcName": "__test_color_temp__",
- "created": 1675954687.5839524,
- "msecs": 583.9524269104004,
- "relativeCreated": 73480.19480705261,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting precondition (Power off)",
- "asctime": "2023-02-09 15:58:07,583",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954687.2828102,
- "msecs": 282.8102111816406,
- "relativeCreated": 73179.05259132385,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:58:07,282"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954687.2838604,
- "msecs": 283.860445022583,
- "relativeCreated": 73180.1028251648,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:58:07,283"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954687.285761,
- "msecs": 285.76111793518066,
- "relativeCreated": 73182.00349807739,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:07,285"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954687.2863576,
- "msecs": 286.3576412200928,
- "relativeCreated": 73182.6000213623,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:07,286"
- }
- ],
- "time_consumption": 0.2975947856903076
- }
- ],
- "time_consumption": 1.8151752948760986,
- "time_start": "2023-02-09 15:58:05,768",
- "time_finished": "2023-02-09 15:58:07,583"
- },
- "Power On/ Off test for device and virtual device: shellies/gfw/floor/main_light": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: shellies/gfw/floor/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954687.5846174,
- "msecs": 584.6173763275146,
- "relativeCreated": 73480.85975646973,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: shellies/gfw/floor/main_light",
- "asctime": "2023-02-09 15:58:07,584",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954687.5850906,
- "msecs": 585.0906372070312,
- "relativeCreated": 73481.33301734924,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:07,585",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954687.5848567,
- "msecs": 584.8567485809326,
- "relativeCreated": 73481.09912872314,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:07,584"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954687.584974,
- "msecs": 584.9740505218506,
- "relativeCreated": 73481.21643066406,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:07,584"
- }
- ],
- "time_consumption": 0.00011658668518066406
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954687.8870337,
- "msecs": 887.0337009429932,
- "relativeCreated": 73783.2760810852,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:58:07,887",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954687.5853133,
- "msecs": 585.3133201599121,
- "relativeCreated": 73481.55570030212,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:58:07,585"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954687.586417,
- "msecs": 586.4169597625732,
- "relativeCreated": 73482.65933990479,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:58:07,586"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.get",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1/get",
- "b'{\"state\": \"\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954687.5888093,
- "msecs": 588.8092517852783,
- "relativeCreated": 73485.05163192749,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'",
- "asctime": "2023-02-09 15:58:07,588"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954687.589178,
- "msecs": 589.1780853271484,
- "relativeCreated": 73485.42046546936,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:07,589"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.get",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2/get",
- "b'{\"state\": \"\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954687.5897954,
- "msecs": 589.7953510284424,
- "relativeCreated": 73486.03773117065,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'",
- "asctime": "2023-02-09 15:58:07,589"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954687.5900712,
- "msecs": 590.0712013244629,
- "relativeCreated": 73486.31358146667,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:07,590"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954687.5907304,
- "msecs": 590.7304286956787,
- "relativeCreated": 73486.97280883789,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:58:07,590"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954687.5912545,
- "msecs": 591.254472732544,
- "relativeCreated": 73487.49685287476,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:07,591"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954687.5917304,
- "msecs": 591.7303562164307,
- "relativeCreated": 73487.97273635864,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:07,591"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954687.5921924,
- "msecs": 592.1924114227295,
- "relativeCreated": 73488.43479156494,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:07,592"
- }
- ],
- "time_consumption": 0.29484128952026367
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954687.8876193,
- "msecs": 887.6192569732666,
- "relativeCreated": 73783.86163711548,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:07,887",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954687.887406,
- "msecs": 887.4061107635498,
- "relativeCreated": 73783.64849090576,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:07,887"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954687.887524,
- "msecs": 887.523889541626,
- "relativeCreated": 73783.76626968384,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:07,887"
- }
- ],
- "time_consumption": 9.5367431640625e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954687.8879676,
- "msecs": 887.967586517334,
- "relativeCreated": 73784.20996665955,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:07,887",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954687.8877978,
- "msecs": 887.7978324890137,
- "relativeCreated": 73784.04021263123,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:07,887"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954687.8878896,
- "msecs": 887.8896236419678,
- "relativeCreated": 73784.13200378418,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:07,887"
- }
- ],
- "time_consumption": 7.796287536621094e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954688.1892672,
- "msecs": 189.26715850830078,
- "relativeCreated": 74085.50953865051,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:58:08,189",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954687.888206,
- "msecs": 888.2060050964355,
- "relativeCreated": 73784.44838523865,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/floor/main_light/state and payload false",
- "asctime": "2023-02-09 15:58:07,888"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954687.889213,
- "msecs": 889.2130851745605,
- "relativeCreated": 73785.45546531677,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:07,889"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954687.8907142,
- "msecs": 890.714168548584,
- "relativeCreated": 73786.9565486908,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/floor/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:58:07,890"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954687.8910213,
- "msecs": 891.0212516784668,
- "relativeCreated": 73787.26363182068,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:58:07,891"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954687.8920217,
- "msecs": 892.021656036377,
- "relativeCreated": 73788.26403617859,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:58:07,892"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954687.9357839,
- "msecs": 935.783863067627,
- "relativeCreated": 73832.02624320984,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:07,935"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954687.936426,
- "msecs": 936.4259243011475,
- "relativeCreated": 73832.66830444336,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:07,936"
- }
- ],
- "time_consumption": 0.2528412342071533
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954688.1899157,
- "msecs": 189.91565704345703,
- "relativeCreated": 74086.15803718567,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:08,189",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954688.1896765,
- "msecs": 189.67652320861816,
- "relativeCreated": 74085.91890335083,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:08,189"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954688.1898086,
- "msecs": 189.80860710144043,
- "relativeCreated": 74086.05098724365,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:08,189"
- }
- ],
- "time_consumption": 0.00010704994201660156
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954688.190269,
- "msecs": 190.26899337768555,
- "relativeCreated": 74086.5113735199,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:08,190",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954688.1900854,
- "msecs": 190.08541107177734,
- "relativeCreated": 74086.32779121399,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:08,190"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954688.190182,
- "msecs": 190.18197059631348,
- "relativeCreated": 74086.42435073853,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:08,190"
- }
- ],
- "time_consumption": 8.702278137207031e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954688.492512,
- "msecs": 492.5119876861572,
- "relativeCreated": 74388.75436782837,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:58:08,492",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954688.1905394,
- "msecs": 190.53936004638672,
- "relativeCreated": 74086.7817401886,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:58:08,190"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.191696,
- "msecs": 191.6959285736084,
- "relativeCreated": 74087.93830871582,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:58:08,191"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.get",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1/get",
- "b'{\"state\": \"\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.194369,
- "msecs": 194.36907768249512,
- "relativeCreated": 74090.6114578247,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'",
- "asctime": "2023-02-09 15:58:08,194"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954688.1946895,
- "msecs": 194.68951225280762,
- "relativeCreated": 74090.93189239502,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:08,194"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.get",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2/get",
- "b'{\"state\": \"\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.195301,
- "msecs": 195.30105590820312,
- "relativeCreated": 74091.54343605042,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'",
- "asctime": "2023-02-09 15:58:08,195"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954688.1955848,
- "msecs": 195.58477401733398,
- "relativeCreated": 74091.82715415955,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:08,195"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.1962485,
- "msecs": 196.24853134155273,
- "relativeCreated": 74092.49091148376,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:58:08,196"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.1967778,
- "msecs": 196.7778205871582,
- "relativeCreated": 74093.02020072937,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:08,196"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.1972919,
- "msecs": 197.29185104370117,
- "relativeCreated": 74093.53423118591,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:08,197"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.1977615,
- "msecs": 197.76153564453125,
- "relativeCreated": 74094.00391578674,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:08,197"
- }
- ],
- "time_consumption": 0.294750452041626
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954688.493155,
- "msecs": 493.15500259399414,
- "relativeCreated": 74389.3973827362,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:08,493",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954688.4929082,
- "msecs": 492.908239364624,
- "relativeCreated": 74389.15061950684,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:08,492"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954688.4930289,
- "msecs": 493.0288791656494,
- "relativeCreated": 74389.27125930786,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:08,493"
- }
- ],
- "time_consumption": 0.00012612342834472656
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954688.4934874,
- "msecs": 493.4873580932617,
- "relativeCreated": 74389.72973823547,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:08,493",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954688.493312,
- "msecs": 493.31188201904297,
- "relativeCreated": 74389.55426216125,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:08,493"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954688.493398,
- "msecs": 493.39795112609863,
- "relativeCreated": 74389.64033126831,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:08,493"
- }
- ],
- "time_consumption": 8.940696716308594e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954688.7946498,
- "msecs": 794.6498394012451,
- "relativeCreated": 74690.89221954346,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:58:08,794",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954688.493733,
- "msecs": 493.7329292297363,
- "relativeCreated": 74389.97530937195,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/floor/main_light/state and payload false",
- "asctime": "2023-02-09 15:58:08,493"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.4947228,
- "msecs": 494.722843170166,
- "relativeCreated": 74390.96522331238,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:08,494"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.4961221,
- "msecs": 496.1221218109131,
- "relativeCreated": 74392.36450195312,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/floor/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:58:08,496"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954688.4964108,
- "msecs": 496.4108467102051,
- "relativeCreated": 74392.65322685242,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:58:08,496"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.4974246,
- "msecs": 497.4246025085449,
- "relativeCreated": 74393.66698265076,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:58:08,497"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.5415804,
- "msecs": 541.5804386138916,
- "relativeCreated": 74437.8228187561,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:08,541"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.5423043,
- "msecs": 542.304277420044,
- "relativeCreated": 74438.54665756226,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:08,542"
- }
- ],
- "time_consumption": 0.25234556198120117
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954688.795227,
- "msecs": 795.22705078125,
- "relativeCreated": 74691.46943092346,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:08,795",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954688.7950172,
- "msecs": 795.0172424316406,
- "relativeCreated": 74691.25962257385,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:08,795"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954688.7951357,
- "msecs": 795.1357364654541,
- "relativeCreated": 74691.37811660767,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:08,795"
- }
- ],
- "time_consumption": 9.131431579589844e-05
- }
- ],
- "time_consumption": 1.2106096744537354,
- "time_start": "2023-02-09 15:58:07,584",
- "time_finished": "2023-02-09 15:58:08,795"
- },
- "Brightness synchronisation test: videv/gfw/floor/main_light": {
- "name": "__tLogger__",
- "msg": "Brightness synchronisation test: videv/gfw/floor/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "test_brightness_sync",
- "created": 1675954688.7956862,
- "msecs": 795.6862449645996,
- "relativeCreated": 74691.92862510681,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Brightness synchronisation test: videv/gfw/floor/main_light",
- "asctime": "2023-02-09 15:58:08,795",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions for master device '%s' (Power on)",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 48,
- "funcName": "__test_brightness_sync__",
- "created": 1675954689.0978687,
- "msecs": 97.86868095397949,
- "relativeCreated": 74994.11106109619,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions for master device 'True' (Power on)",
- "asctime": "2023-02-09 15:58:09,097",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954688.7959383,
- "msecs": 795.93825340271,
- "relativeCreated": 74692.18063354492,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:58:08,795"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.796971,
- "msecs": 796.9710826873779,
- "relativeCreated": 74693.21346282959,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:58:08,796"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.get",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1/get",
- "b'{\"state\": \"\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.7993293,
- "msecs": 799.3292808532715,
- "relativeCreated": 74695.57166099548,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'",
- "asctime": "2023-02-09 15:58:08,799"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954688.8000767,
- "msecs": 800.0767230987549,
- "relativeCreated": 74696.31910324097,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:08,800"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.get",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2/get",
- "b'{\"state\": \"\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.8006837,
- "msecs": 800.6837368011475,
- "relativeCreated": 74696.92611694336,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'",
- "asctime": "2023-02-09 15:58:08,800"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954688.8009462,
- "msecs": 800.9462356567383,
- "relativeCreated": 74697.18861579895,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:08,800"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.80163,
- "msecs": 801.6300201416016,
- "relativeCreated": 74697.87240028381,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:58:08,801"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.8021572,
- "msecs": 802.1571636199951,
- "relativeCreated": 74698.3995437622,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:08,802"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.8026283,
- "msecs": 802.6282787322998,
- "relativeCreated": 74698.87065887451,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:08,802"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954688.8031158,
- "msecs": 803.1158447265625,
- "relativeCreated": 74699.35822486877,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:08,803"
- }
- ],
- "time_consumption": 0.294752836227417
- },
- {
- "name": "__tLogger__",
- "msg": "Changing master device brightness to '%d'",
- "args": [
- 35
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 56,
- "funcName": "__test_brightness_sync__",
- "created": 1675954689.399358,
- "msecs": 399.35803413391113,
- "relativeCreated": 75295.60041427612,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing master device brightness to '35'",
- "asctime": "2023-02-09 15:58:09,399",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/brightness",
- "35"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954689.098365,
- "msecs": 98.36506843566895,
- "relativeCreated": 74994.60744857788,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/floor/main_light/brightness and payload 35",
- "asctime": "2023-02-09 15:58:09,098"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/brightness",
- "b'35'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954689.0993993,
- "msecs": 99.39932823181152,
- "relativeCreated": 74995.64170837402,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'35'",
- "asctime": "2023-02-09 15:58:09,099"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1/set",
- "b'{\"brightness\": 90.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954689.101285,
- "msecs": 101.28498077392578,
- "relativeCreated": 74997.52736091614,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"brightness\": 90.0}'",
- "asctime": "2023-02-09 15:58:09,101"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954689.1016283,
- "msecs": 101.62830352783203,
- "relativeCreated": 74997.87068367004,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:09,101"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2/set",
- "b'{\"brightness\": 90.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954689.1022413,
- "msecs": 102.24127769470215,
- "relativeCreated": 74998.48365783691,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"brightness\": 90.0}'",
- "asctime": "2023-02-09 15:58:09,102"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954689.1025581,
- "msecs": 102.55813598632812,
- "relativeCreated": 74998.80051612854,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:09,102"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954689.1034255,
- "msecs": 103.42550277709961,
- "relativeCreated": 74999.66788291931,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:09,103"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954689.1039646,
- "msecs": 103.96456718444824,
- "relativeCreated": 75000.20694732666,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 90.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:09,103"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/brightness",
- "b'35.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954689.14601,
- "msecs": 146.0099220275879,
- "relativeCreated": 75042.2523021698,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'35.0'",
- "asctime": "2023-02-09 15:58:09,146"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954689.1466584,
- "msecs": 146.65842056274414,
- "relativeCreated": 75042.90080070496,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:09,146"
- }
- ],
- "time_consumption": 0.252699613571167
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/gfw/floor/main_light_1) brightness is correct (Content %s and Type is %s).",
- "args": [
- "35",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954689.400016,
- "msecs": 400.01606941223145,
- "relativeCreated": 75296.25844955444,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/gfw/floor/main_light_1) brightness is correct (Content 35 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:09,400",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_1) brightness",
- "35",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954689.3997736,
- "msecs": 399.77359771728516,
- "relativeCreated": 75296.0159778595,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/gfw/floor/main_light_1) brightness): 35 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:09,399"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_1) brightness",
- "=",
- "35",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954689.399909,
- "msecs": 399.90901947021484,
- "relativeCreated": 75296.15139961243,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) brightness): result = 35 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:09,399"
- }
- ],
- "time_consumption": 0.00010704994201660156
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/gfw/floor/main_light_2) brightness is correct (Content %s and Type is %s).",
- "args": [
- "35",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954689.4003983,
- "msecs": 400.39825439453125,
- "relativeCreated": 75296.64063453674,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/gfw/floor/main_light_2) brightness is correct (Content 35 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:09,400",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_2) brightness",
- "35",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954689.4001858,
- "msecs": 400.18582344055176,
- "relativeCreated": 75296.42820358276,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/gfw/floor/main_light_2) brightness): 35 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:09,400"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_2) brightness",
- "=",
- "35",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954689.4002821,
- "msecs": 400.2821445465088,
- "relativeCreated": 75296.52452468872,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) brightness): result = 35 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:09,400"
- }
- ],
- "time_consumption": 0.00011610984802246094
- },
- {
- "name": "__tLogger__",
- "msg": "Changing master device brightness to '%d'",
- "args": [
- 50
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 56,
- "funcName": "__test_brightness_sync__",
- "created": 1675954689.7020524,
- "msecs": 702.0523548126221,
- "relativeCreated": 75598.29473495483,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing master device brightness to '50'",
- "asctime": "2023-02-09 15:58:09,702",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/brightness",
- "50"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954689.4006872,
- "msecs": 400.68721771240234,
- "relativeCreated": 75296.92959785461,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/floor/main_light/brightness and payload 50",
- "asctime": "2023-02-09 15:58:09,400"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/brightness",
- "b'50'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954689.401806,
- "msecs": 401.806116104126,
- "relativeCreated": 75298.04849624634,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50'",
- "asctime": "2023-02-09 15:58:09,401"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954689.4038973,
- "msecs": 403.8972854614258,
- "relativeCreated": 75300.13966560364,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:58:09,403"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954689.40429,
- "msecs": 404.28996086120605,
- "relativeCreated": 75300.53234100342,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:09,404"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2/set",
- "b'{\"brightness\": 128.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954689.405,
- "msecs": 404.9999713897705,
- "relativeCreated": 75301.24235153198,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"brightness\": 128.0}'",
- "asctime": "2023-02-09 15:58:09,404"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954689.4053679,
- "msecs": 405.3678512573242,
- "relativeCreated": 75301.61023139954,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:09,405"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954689.4063396,
- "msecs": 406.3396453857422,
- "relativeCreated": 75302.58202552795,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:09,406"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954689.406951,
- "msecs": 406.9509506225586,
- "relativeCreated": 75303.19333076477,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:09,406"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.brightness",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/brightness",
- "b'50.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954689.4499576,
- "msecs": 449.95760917663574,
- "relativeCreated": 75346.19998931885,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/brightness and payload b'50.0'",
- "asctime": "2023-02-09 15:58:09,449"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954689.45061,
- "msecs": 450.6099224090576,
- "relativeCreated": 75346.85230255127,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:09,450"
- }
- ],
- "time_consumption": 0.25144243240356445
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/gfw/floor/main_light_1) brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954689.702644,
- "msecs": 702.6441097259521,
- "relativeCreated": 75598.88648986816,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/gfw/floor/main_light_1) brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:09,702",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_1) brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954689.7024312,
- "msecs": 702.4312019348145,
- "relativeCreated": 75598.67358207703,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/gfw/floor/main_light_1) brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:09,702"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_1) brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954689.7025495,
- "msecs": 702.5494575500488,
- "relativeCreated": 75598.79183769226,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:09,702"
- }
- ],
- "time_consumption": 9.465217590332031e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/gfw/floor/main_light_2) brightness is correct (Content %s and Type is %s).",
- "args": [
- "50",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954689.7029624,
- "msecs": 702.9623985290527,
- "relativeCreated": 75599.20477867126,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/gfw/floor/main_light_2) brightness is correct (Content 50 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:09,702",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_2) brightness",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954689.7027998,
- "msecs": 702.7997970581055,
- "relativeCreated": 75599.04217720032,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/gfw/floor/main_light_2) brightness): 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:09,702"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_2) brightness",
- "=",
- "50",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954689.7028856,
- "msecs": 702.885627746582,
- "relativeCreated": 75599.1280078888,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) brightness): result = 50 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:09,702"
- }
- ],
- "time_consumption": 7.677078247070312e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting preconditions for master device '%s' (Power off)",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 64,
- "funcName": "__test_brightness_sync__",
- "created": 1675954690.0041685,
- "msecs": 4.168510437011719,
- "relativeCreated": 75900.41089057922,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting preconditions for master device 'False' (Power off)",
- "asctime": "2023-02-09 15:58:10,004",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954689.7031722,
- "msecs": 703.1722068786621,
- "relativeCreated": 75599.41458702087,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:58:09,703"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954689.7041948,
- "msecs": 704.1947841644287,
- "relativeCreated": 75600.43716430664,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:58:09,704"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954689.7061388,
- "msecs": 706.1388492584229,
- "relativeCreated": 75602.38122940063,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:09,706"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954689.706726,
- "msecs": 706.72607421875,
- "relativeCreated": 75602.96845436096,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:09,706"
- }
- ],
- "time_consumption": 0.2974424362182617
- }
- ],
- "time_consumption": 1.208482265472412,
- "time_start": "2023-02-09 15:58:08,795",
- "time_finished": "2023-02-09 15:58:10,004"
- },
- "Color temperature synchronisation test: videv/gfw/floor/main_light": {
- "name": "__tLogger__",
- "msg": "Color temperature synchronisation test: videv/gfw/floor/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 67,
- "funcName": "test_color_temp_sync",
- "created": 1675954690.0047913,
- "msecs": 4.791259765625,
- "relativeCreated": 75901.03363990784,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Color temperature synchronisation test: videv/gfw/floor/main_light",
- "asctime": "2023-02-09 15:58:10,004",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions for master device '%s' (Power on)",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 73,
- "funcName": "__test_color_temp_sync__",
- "created": 1675954690.307083,
- "msecs": 307.0828914642334,
- "relativeCreated": 76203.32527160645,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions for master device 'True' (Power on)",
- "asctime": "2023-02-09 15:58:10,307",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954690.0051086,
- "msecs": 5.10859489440918,
- "relativeCreated": 75901.35097503662,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:58:10,005"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.00618,
- "msecs": 6.180047988891602,
- "relativeCreated": 75902.4224281311,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:58:10,006"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.get",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1/get",
- "b'{\"state\": \"\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.0085115,
- "msecs": 8.511543273925781,
- "relativeCreated": 75904.75392341614,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'",
- "asctime": "2023-02-09 15:58:10,008"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954690.008852,
- "msecs": 8.852005004882812,
- "relativeCreated": 75905.0943851471,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:10,008"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.get",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2/get",
- "b'{\"state\": \"\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.0095184,
- "msecs": 9.51838493347168,
- "relativeCreated": 75905.76076507568,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'",
- "asctime": "2023-02-09 15:58:10,009"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954690.0097923,
- "msecs": 9.792327880859375,
- "relativeCreated": 75906.03470802307,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:10,009"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.0104702,
- "msecs": 10.470151901245117,
- "relativeCreated": 75906.71253204346,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:58:10,010"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.0109947,
- "msecs": 10.994672775268555,
- "relativeCreated": 75907.23705291748,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:10,010"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.0114703,
- "msecs": 11.470317840576172,
- "relativeCreated": 75907.71269798279,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:10,011"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.0119374,
- "msecs": 11.937379837036133,
- "relativeCreated": 75908.17975997925,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:10,011"
- }
- ],
- "time_consumption": 0.29514551162719727
- },
- {
- "name": "__tLogger__",
- "msg": "Changing master device color temperature to '%d'",
- "args": [
- 2
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 81,
- "funcName": "__test_color_temp_sync__",
- "created": 1675954690.608576,
- "msecs": 608.5760593414307,
- "relativeCreated": 76504.81843948364,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing master device color temperature to '2'",
- "asctime": "2023-02-09 15:58:10,608",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/color_temp",
- "2"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954690.3075824,
- "msecs": 307.5823783874512,
- "relativeCreated": 76203.82475852966,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/floor/main_light/color_temp and payload 2",
- "asctime": "2023-02-09 15:58:10,307"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/color_temp",
- "b'2'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.3086255,
- "msecs": 308.6254596710205,
- "relativeCreated": 76204.86783981323,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'2'",
- "asctime": "2023-02-09 15:58:10,308"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1/set",
- "b'{\"color_temp\": 291.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.3105776,
- "msecs": 310.5776309967041,
- "relativeCreated": 76206.82001113892,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"color_temp\": 291.0}'",
- "asctime": "2023-02-09 15:58:10,310"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954690.3109238,
- "msecs": 310.92381477355957,
- "relativeCreated": 76207.16619491577,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:10,310"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2/set",
- "b'{\"color_temp\": 291.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.3115463,
- "msecs": 311.54632568359375,
- "relativeCreated": 76207.7887058258,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"color_temp\": 291.0}'",
- "asctime": "2023-02-09 15:58:10,311"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954690.3118396,
- "msecs": 311.8395805358887,
- "relativeCreated": 76208.0819606781,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:10,311"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.3127112,
- "msecs": 312.711238861084,
- "relativeCreated": 76208.9536190033,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:10,312"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.3132827,
- "msecs": 313.28272819519043,
- "relativeCreated": 76209.5251083374,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 291.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:10,313"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/color_temp",
- "b'2.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.3580256,
- "msecs": 358.02555084228516,
- "relativeCreated": 76254.2679309845,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'2.0'",
- "asctime": "2023-02-09 15:58:10,358"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.3587005,
- "msecs": 358.7005138397217,
- "relativeCreated": 76254.94289398193,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:10,358"
- }
- ],
- "time_consumption": 0.24987554550170898
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/gfw/floor/main_light_1) color temperature is correct (Content %s and Type is %s).",
- "args": [
- "2",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954690.609268,
- "msecs": 609.2679500579834,
- "relativeCreated": 76505.5103302002,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/gfw/floor/main_light_1) color temperature is correct (Content 2 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:10,609",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_1) color temperature",
- "2",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954690.60899,
- "msecs": 608.989953994751,
- "relativeCreated": 76505.23233413696,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/gfw/floor/main_light_1) color temperature): 2 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:10,608"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_1) color temperature",
- "=",
- "2",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954690.6091588,
- "msecs": 609.1587543487549,
- "relativeCreated": 76505.40113449097,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) color temperature): result = 2 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:10,609"
- }
- ],
- "time_consumption": 0.00010919570922851562
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/gfw/floor/main_light_2) color temperature is correct (Content %s and Type is %s).",
- "args": [
- "2",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954690.6096277,
- "msecs": 609.6277236938477,
- "relativeCreated": 76505.87010383606,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/gfw/floor/main_light_2) color temperature is correct (Content 2 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:10,609",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_2) color temperature",
- "2",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954690.609444,
- "msecs": 609.4439029693604,
- "relativeCreated": 76505.68628311157,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/gfw/floor/main_light_2) color temperature): 2 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:10,609"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_2) color temperature",
- "=",
- "2",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954690.6095417,
- "msecs": 609.541654586792,
- "relativeCreated": 76505.784034729,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) color temperature): result = 2 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:10,609"
- }
- ],
- "time_consumption": 8.606910705566406e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing master device color temperature to '%d'",
- "args": [
- 5
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 81,
- "funcName": "__test_color_temp_sync__",
- "created": 1675954690.911884,
- "msecs": 911.884069442749,
- "relativeCreated": 76808.12644958496,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing master device color temperature to '5'",
- "asctime": "2023-02-09 15:58:10,911",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/color_temp",
- "5"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954690.6099505,
- "msecs": 609.9505424499512,
- "relativeCreated": 76506.19292259216,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/floor/main_light/color_temp and payload 5",
- "asctime": "2023-02-09 15:58:10,609"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/color_temp",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.6110382,
- "msecs": 611.0382080078125,
- "relativeCreated": 76507.28058815002,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5'",
- "asctime": "2023-02-09 15:58:10,611"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.6131775,
- "msecs": 613.1775379180908,
- "relativeCreated": 76509.4199180603,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:58:10,613"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954690.6136062,
- "msecs": 613.6062145233154,
- "relativeCreated": 76509.84859466553,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:10,613"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2/set",
- "b'{\"color_temp\": 352.0}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.614302,
- "msecs": 614.3019199371338,
- "relativeCreated": 76510.54430007935,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2/set and payload b'{\"color_temp\": 352.0}'",
- "asctime": "2023-02-09 15:58:10,614"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954690.6146357,
- "msecs": 614.635705947876,
- "relativeCreated": 76510.87808609009,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:10,614"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.6155179,
- "msecs": 615.5178546905518,
- "relativeCreated": 76511.76023483276,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:10,615"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.6160536,
- "msecs": 616.053581237793,
- "relativeCreated": 76512.29596138,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:10,616"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.color_temp",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/color_temp",
- "b'5.0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.6585524,
- "msecs": 658.5524082183838,
- "relativeCreated": 76554.7947883606,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/color_temp and payload b'5.0'",
- "asctime": "2023-02-09 15:58:10,658"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.6591988,
- "msecs": 659.1987609863281,
- "relativeCreated": 76555.44114112854,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:10,659"
- }
- ],
- "time_consumption": 0.2526853084564209
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/gfw/floor/main_light_1) color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954690.9126165,
- "msecs": 912.616491317749,
- "relativeCreated": 76808.85887145996,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/gfw/floor/main_light_1) color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:10,912",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_1) color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954690.9123597,
- "msecs": 912.3597145080566,
- "relativeCreated": 76808.60209465027,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/gfw/floor/main_light_1) color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:10,912"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_1) color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954690.9125102,
- "msecs": 912.5101566314697,
- "relativeCreated": 76808.75253677368,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:10,912"
- }
- ],
- "time_consumption": 0.00010633468627929688
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/gfw/floor/main_light_2) color temperature is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954690.9129748,
- "msecs": 912.9748344421387,
- "relativeCreated": 76809.21721458435,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/gfw/floor/main_light_2) color temperature is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:10,912",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_2) color temperature",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954690.9127922,
- "msecs": 912.7922058105469,
- "relativeCreated": 76809.03458595276,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/gfw/floor/main_light_2) color temperature): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:10,912"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_2) color temperature",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954690.9128883,
- "msecs": 912.8882884979248,
- "relativeCreated": 76809.13066864014,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) color temperature): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:10,912"
- }
- ],
- "time_consumption": 8.654594421386719e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Resetting preconditions for master device '%s' (Power off)",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 89,
- "funcName": "__test_color_temp_sync__",
- "created": 1675954691.214262,
- "msecs": 214.2620086669922,
- "relativeCreated": 77110.5043888092,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Resetting preconditions for master device 'False' (Power off)",
- "asctime": "2023-02-09 15:58:11,214",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954690.913316,
- "msecs": 913.316011428833,
- "relativeCreated": 76809.55839157104,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:58:10,913"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.9145124,
- "msecs": 914.5123958587646,
- "relativeCreated": 76810.75477600098,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:58:10,914"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.9166138,
- "msecs": 916.6138172149658,
- "relativeCreated": 76812.85619735718,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:10,916"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954690.9173162,
- "msecs": 917.316198348999,
- "relativeCreated": 76813.55857849121,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:10,917"
- }
- ],
- "time_consumption": 0.29694581031799316
- }
- ],
- "time_consumption": 1.2094707489013672,
- "time_start": "2023-02-09 15:58:10,004",
- "time_finished": "2023-02-09 15:58:11,214"
- },
- "Power On/ Off synchronisation test: shellies/gfw/floor/main_light": {
- "name": "__tLogger__",
- "msg": "Power On/ Off synchronisation test: shellies/gfw/floor/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 24,
- "funcName": "test_power_on_off_sync",
- "created": 1675954691.2148986,
- "msecs": 214.89858627319336,
- "relativeCreated": 77111.1409664154,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off synchronisation test: shellies/gfw/floor/main_light",
- "asctime": "2023-02-09 15:58:11,214",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions for master device '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 30,
- "funcName": "__test_power_on_off_sync__",
- "created": 1675954691.5155818,
- "msecs": 515.5818462371826,
- "relativeCreated": 77411.8242263794,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions for master device 'False'",
- "asctime": "2023-02-09 15:58:11,515",
- "moduleLogger": [],
- "time_consumption": 0.0
- },
- {
- "name": "__tLogger__",
- "msg": "Changing master device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off_sync__",
- "created": 1675954691.8171422,
- "msecs": 817.1422481536865,
- "relativeCreated": 77713.3846282959,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing master device state to 'True'",
- "asctime": "2023-02-09 15:58:11,817",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954691.5160322,
- "msecs": 516.0322189331055,
- "relativeCreated": 77412.27459907532,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:58:11,516"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954691.517296,
- "msecs": 517.2960758209229,
- "relativeCreated": 77413.53845596313,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:58:11,517"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1.get",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1/get",
- "b'{\"state\": \"\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954691.5199866,
- "msecs": 519.986629486084,
- "relativeCreated": 77416.2290096283,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1/get and payload b'{\"state\": \"\"}'",
- "asctime": "2023-02-09 15:58:11,519"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954691.5203679,
- "msecs": 520.3678607940674,
- "relativeCreated": 77416.61024093628,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_1 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:11,520"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2.get",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2/get",
- "b'{\"state\": \"\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954691.5211153,
- "msecs": 521.1153030395508,
- "relativeCreated": 77417.35768318176,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2/get and payload b'{\"state\": \"\"}'",
- "asctime": "2023-02-09 15:58:11,521"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954691.5214453,
- "msecs": 521.4452743530273,
- "relativeCreated": 77417.68765449524,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/floor/main_light_2 and payload {\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}",
- "asctime": "2023-02-09 15:58:11,521"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954691.5222266,
- "msecs": 522.2265720367432,
- "relativeCreated": 77418.46895217896,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:58:11,522"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954691.522825,
- "msecs": 522.8250026702881,
- "relativeCreated": 77419.0673828125,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:11,522"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_1",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_1",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954691.5233672,
- "msecs": 523.367166519165,
- "relativeCreated": 77419.60954666138,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_1 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:11,523"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.floor.main_light_2",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/floor/main_light_2",
- "b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954691.523905,
- "msecs": 523.9050388336182,
- "relativeCreated": 77420.14741897583,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/floor/main_light_2 and payload b'{\"state\": \"on\", \"brightness\": 127.0, \"color_temp\": 352.0, \"__type__\": \"tradfri_light\"}'",
- "asctime": "2023-02-09 15:58:11,523"
- }
- ],
- "time_consumption": 0.29323720932006836
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/gfw/floor/main_light_1) state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954691.8178425,
- "msecs": 817.8424835205078,
- "relativeCreated": 77714.08486366272,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/gfw/floor/main_light_1) state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:11,817",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_1) state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954691.8175595,
- "msecs": 817.5594806671143,
- "relativeCreated": 77713.80186080933,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/gfw/floor/main_light_1) state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:11,817"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_1) state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954691.8177285,
- "msecs": 817.7285194396973,
- "relativeCreated": 77713.97089958191,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:11,817"
- }
- ],
- "time_consumption": 0.00011396408081054688
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/gfw/floor/main_light_2) state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954691.818204,
- "msecs": 818.2039260864258,
- "relativeCreated": 77714.44630622864,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/gfw/floor/main_light_2) state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:11,818",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_2) state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954691.8180206,
- "msecs": 818.0205821990967,
- "relativeCreated": 77714.26296234131,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/gfw/floor/main_light_2) state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:11,818"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_2) state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954691.818117,
- "msecs": 818.1169033050537,
- "relativeCreated": 77714.35928344727,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:11,818"
- }
- ],
- "time_consumption": 8.702278137207031e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing master device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/synchronisation.py",
- "filename": "synchronisation.py",
- "module": "synchronisation",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off_sync__",
- "created": 1675954692.1204362,
- "msecs": 120.43619155883789,
- "relativeCreated": 78016.67857170105,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing master device state to 'False'",
- "asctime": "2023-02-09 15:58:12,120",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954691.8184507,
- "msecs": 818.4506893157959,
- "relativeCreated": 77714.69306945801,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/floor/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:58:11,818"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.floor.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/floor/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954691.819607,
- "msecs": 819.6070194244385,
- "relativeCreated": 77715.84939956665,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/floor/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:58:11,819"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954691.8217525,
- "msecs": 821.7525482177734,
- "relativeCreated": 77717.99492835999,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:11,821"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.floor.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/floor/main_light/__info__",
- "b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954691.822433,
- "msecs": 822.4329948425293,
- "relativeCreated": 77718.67537498474,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/floor/main_light/__info__ and payload b'{\"__type__\": \"videv_switch_brightness_color_temp\", \"state\": {\"control\": true, \"display\": true}, \"brightness\": {\"control\": true, \"display\": true}, \"color_temp\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:11,822"
- }
- ],
- "time_consumption": 0.2980031967163086
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/gfw/floor/main_light_1) state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954692.1211488,
- "msecs": 121.14882469177246,
- "relativeCreated": 78017.39120483398,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/gfw/floor/main_light_1) state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:12,121",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_1) state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954692.120847,
- "msecs": 120.84698677062988,
- "relativeCreated": 78017.08936691284,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/gfw/floor/main_light_1) state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:12,120"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_1) state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954692.1209812,
- "msecs": 120.98121643066406,
- "relativeCreated": 78017.22359657288,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_1) state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:12,120"
- }
- ],
- "time_consumption": 0.00016760826110839844
- },
- {
- "name": "__tLogger__",
- "msg": "Follower device (zigbee/gfw/floor/main_light_2) state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954692.1215422,
- "msecs": 121.54221534729004,
- "relativeCreated": 78017.7845954895,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Follower device (zigbee/gfw/floor/main_light_2) state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:12,121",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_2) state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954692.1213477,
- "msecs": 121.34766578674316,
- "relativeCreated": 78017.59004592896,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Follower device (zigbee/gfw/floor/main_light_2) state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:12,121"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Follower device (zigbee/gfw/floor/main_light_2) state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954692.121451,
- "msecs": 121.45090103149414,
- "relativeCreated": 78017.6932811737,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Follower device (zigbee/gfw/floor/main_light_2) state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:12,121"
- }
- ],
- "time_consumption": 9.131431579589844e-05
- }
- ],
- "time_consumption": 0.9066436290740967,
- "time_start": "2023-02-09 15:58:11,214",
- "time_finished": "2023-02-09 15:58:12,121"
- },
- "Away mode test: zigbee/gfw/marion/heating_valve": {
- "name": "__tLogger__",
- "msg": "Away mode test: zigbee/gfw/marion/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 101,
- "funcName": "test_away_mode",
- "created": 1675954692.1220307,
- "msecs": 122.03073501586914,
- "relativeCreated": 78018.27311515808,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Away mode test: zigbee/gfw/marion/heating_valve",
- "asctime": "2023-02-09 15:58:12,122",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Default setpoint)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 106,
- "funcName": "__test_away_mode__",
- "created": 1675954692.4242606,
- "msecs": 424.26061630249023,
- "relativeCreated": 78320.5029964447,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Default setpoint)",
- "asctime": "2023-02-09 15:58:12,424",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954692.1223593,
- "msecs": 122.3592758178711,
- "relativeCreated": 78018.60165596008,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:58:12,122"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.123455,
- "msecs": 123.45504760742188,
- "relativeCreated": 78019.69742774963,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:58:12,123"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/user_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.141785,
- "msecs": 141.7849063873291,
- "relativeCreated": 78038.02728652954,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:58:12,141"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.142643,
- "msecs": 142.64297485351562,
- "relativeCreated": 78038.88535499573,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:12,142"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve/set",
- "b'{\"current_heating_setpoint\": 23}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.1432383,
- "msecs": 143.23830604553223,
- "relativeCreated": 78039.48068618774,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
- "asctime": "2023-02-09 15:58:12,143"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954692.1435506,
- "msecs": 143.55063438415527,
- "relativeCreated": 78039.79301452637,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:58:12,143"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/valve_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.1442428,
- "msecs": 144.2427635192871,
- "relativeCreated": 78040.4851436615,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:58:12,144"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.1449323,
- "msecs": 144.93227005004883,
- "relativeCreated": 78041.17465019226,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:12,144"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.1454973,
- "msecs": 145.49732208251953,
- "relativeCreated": 78041.73970222473,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:58:12,145"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.1926084,
- "msecs": 192.60835647583008,
- "relativeCreated": 78088.85073661804,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:58:12,192"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.234033,
- "msecs": 234.03310775756836,
- "relativeCreated": 78130.27548789978,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:12,234"
- }
- ],
- "time_consumption": 0.19022750854492188
- },
- {
- "name": "__tLogger__",
- "msg": "Away mode is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954692.4248817,
- "msecs": 424.8816967010498,
- "relativeCreated": 78321.12407684326,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Away mode is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:12,424",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Away mode",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954692.4246392,
- "msecs": 424.6392250061035,
- "relativeCreated": 78320.88160514832,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Away mode): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:12,424"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Away mode",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954692.4247758,
- "msecs": 424.7758388519287,
- "relativeCreated": 78321.01821899414,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Away mode): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:12,424"
- }
- ],
- "time_consumption": 0.00010585784912109375
- },
- {
- "name": "__tLogger__",
- "msg": "Activating away mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 113,
- "funcName": "__test_away_mode__",
- "created": 1675954692.7272208,
- "msecs": 727.2207736968994,
- "relativeCreated": 78623.46315383911,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Activating away mode",
- "asctime": "2023-02-09 15:58:12,727",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.away_mode",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/away_mode",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954692.4252782,
- "msecs": 425.2781867980957,
- "relativeCreated": 78321.52056694031,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/marion/heating_valve/away_mode and payload true",
- "asctime": "2023-02-09 15:58:12,425"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.away_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/away_mode",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.4263368,
- "msecs": 426.33676528930664,
- "relativeCreated": 78322.57914543152,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/away_mode and payload b'true'",
- "asctime": "2023-02-09 15:58:12,426"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve/set",
- "b'{\"current_heating_setpoint\": 18}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.4426148,
- "msecs": 442.6147937774658,
- "relativeCreated": 78338.85717391968,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'",
- "asctime": "2023-02-09 15:58:12,442"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954692.4430287,
- "msecs": 443.02868843078613,
- "relativeCreated": 78339.271068573,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:58:12,443"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/valve_temperature_setpoint",
- "b'18'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.4436455,
- "msecs": 443.6454772949219,
- "relativeCreated": 78339.88785743713,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'18'",
- "asctime": "2023-02-09 15:58:12,443"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.4443183,
- "msecs": 444.3182945251465,
- "relativeCreated": 78340.56067466736,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:12,444"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.away_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/away_mode",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.4448552,
- "msecs": 444.8552131652832,
- "relativeCreated": 78341.0975933075,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/away_mode and payload b'true'",
- "asctime": "2023-02-09 15:58:12,444"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.4453795,
- "msecs": 445.37949562072754,
- "relativeCreated": 78341.62187576294,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:12,445"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.4458747,
- "msecs": 445.8746910095215,
- "relativeCreated": 78342.11707115173,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:58:12,445"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.4901025,
- "msecs": 490.10252952575684,
- "relativeCreated": 78386.34490966797,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:58:12,490"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.53415,
- "msecs": 534.1498851776123,
- "relativeCreated": 78430.39226531982,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:12,534"
- }
- ],
- "time_consumption": 0.1930708885192871
- },
- {
- "name": "__tLogger__",
- "msg": "Away mode is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954692.7278602,
- "msecs": 727.8602123260498,
- "relativeCreated": 78624.10259246826,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Away mode is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:12,727",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Away mode",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954692.7276156,
- "msecs": 727.6155948638916,
- "relativeCreated": 78623.8579750061,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Away mode): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:12,727"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Away mode",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954692.7277522,
- "msecs": 727.7522087097168,
- "relativeCreated": 78623.99458885193,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Away mode): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:12,727"
- }
- ],
- "time_consumption": 0.00010800361633300781
- },
- {
- "name": "__tLogger__",
- "msg": "Temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "18",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954692.7282574,
- "msecs": 728.257417678833,
- "relativeCreated": 78624.49979782104,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Temperature setpoint is correct (Content 18 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:12,728",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Temperature setpoint",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954692.7280698,
- "msecs": 728.0697822570801,
- "relativeCreated": 78624.31216239929,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Temperature setpoint): 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:12,728"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Temperature setpoint",
- "=",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954692.7281687,
- "msecs": 728.1687259674072,
- "relativeCreated": 78624.41110610962,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Temperature setpoint): result = 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:12,728"
- }
- ],
- "time_consumption": 8.869171142578125e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Deactivating away mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 119,
- "funcName": "__test_away_mode__",
- "created": 1675954693.029936,
- "msecs": 29.93607521057129,
- "relativeCreated": 78926.17845535278,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Deactivating away mode",
- "asctime": "2023-02-09 15:58:13,029",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.away_mode",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/away_mode",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954692.7285469,
- "msecs": 728.5468578338623,
- "relativeCreated": 78624.78923797607,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/marion/heating_valve/away_mode and payload false",
- "asctime": "2023-02-09 15:58:12,728"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.away_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/away_mode",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.7302158,
- "msecs": 730.2157878875732,
- "relativeCreated": 78626.45816802979,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/away_mode and payload b'false'",
- "asctime": "2023-02-09 15:58:12,730"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve/set",
- "b'{\"current_heating_setpoint\": 23}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.741216,
- "msecs": 741.2159442901611,
- "relativeCreated": 78637.45832443237,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
- "asctime": "2023-02-09 15:58:12,741"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954692.7416792,
- "msecs": 741.6791915893555,
- "relativeCreated": 78637.92157173157,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:58:12,741"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/valve_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.7423728,
- "msecs": 742.3727512359619,
- "relativeCreated": 78638.61513137817,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:58:12,742"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.7431307,
- "msecs": 743.1306838989258,
- "relativeCreated": 78639.37306404114,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:12,743"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.away_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/away_mode",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.7437108,
- "msecs": 743.7107563018799,
- "relativeCreated": 78639.95313644409,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/away_mode and payload b'false'",
- "asctime": "2023-02-09 15:58:12,743"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.7442691,
- "msecs": 744.2691326141357,
- "relativeCreated": 78640.51151275635,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:12,744"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.7448266,
- "msecs": 744.8265552520752,
- "relativeCreated": 78641.06893539429,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:58:12,744"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.7891963,
- "msecs": 789.196252822876,
- "relativeCreated": 78685.43863296509,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:58:12,789"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954692.8300169,
- "msecs": 830.0168514251709,
- "relativeCreated": 78726.25923156738,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:12,830"
- }
- ],
- "time_consumption": 0.1999192237854004
- },
- {
- "name": "__tLogger__",
- "msg": "Away mode is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954693.0306041,
- "msecs": 30.604124069213867,
- "relativeCreated": 78926.84650421143,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Away mode is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:13,030",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Away mode",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954693.0303392,
- "msecs": 30.33924102783203,
- "relativeCreated": 78926.58162117004,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Away mode): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:13,030"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Away mode",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954693.0304883,
- "msecs": 30.488252639770508,
- "relativeCreated": 78926.73063278198,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Away mode): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:13,030"
- }
- ],
- "time_consumption": 0.00011587142944335938
- },
- {
- "name": "__tLogger__",
- "msg": "Temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "23",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954693.0310082,
- "msecs": 31.008243560791016,
- "relativeCreated": 78927.250623703,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:13,031",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Temperature setpoint",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954693.0308187,
- "msecs": 30.818700790405273,
- "relativeCreated": 78927.06108093262,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Temperature setpoint): 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:13,030"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Temperature setpoint",
- "=",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954693.0309193,
- "msecs": 30.919313430786133,
- "relativeCreated": 78927.161693573,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Temperature setpoint): result = 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:13,030"
- }
- ],
- "time_consumption": 8.893013000488281e-05
- }
- ],
- "time_consumption": 0.9089775085449219,
- "time_start": "2023-02-09 15:58:12,122",
- "time_finished": "2023-02-09 15:58:13,031"
- },
- "Boost mode test: zigbee/gfw/marion/heating_valve": {
- "name": "__tLogger__",
- "msg": "Boost mode test: zigbee/gfw/marion/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 128,
- "funcName": "test_boost_mode",
- "created": 1675954693.0314307,
- "msecs": 31.430721282958984,
- "relativeCreated": 78927.67310142517,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Boost mode test: zigbee/gfw/marion/heating_valve",
- "asctime": "2023-02-09 15:58:13,031",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Default setpoint)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 133,
- "funcName": "__test_boost_mode__",
- "created": 1675954693.3336346,
- "msecs": 333.634614944458,
- "relativeCreated": 79229.87699508667,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Default setpoint)",
- "asctime": "2023-02-09 15:58:13,333",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954693.0317185,
- "msecs": 31.71849250793457,
- "relativeCreated": 78927.96087265015,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:58:13,031"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.032812,
- "msecs": 32.81211853027344,
- "relativeCreated": 78929.05449867249,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:58:13,032"
- }
- ],
- "time_consumption": 0.30082249641418457
- },
- {
- "name": "__tLogger__",
- "msg": "Boost timer is correct (Content %s and Type is %s).",
- "args": [
- "0",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954693.334267,
- "msecs": 334.26690101623535,
- "relativeCreated": 79230.50928115845,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:13,334",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Boost timer",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954693.3340232,
- "msecs": 334.02323722839355,
- "relativeCreated": 79230.2656173706,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Boost timer): 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:13,334"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Boost timer",
- "=",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954693.3341596,
- "msecs": 334.15961265563965,
- "relativeCreated": 79230.40199279785,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:13,334"
- }
- ],
- "time_consumption": 0.00010728836059570312
- },
- {
- "name": "__tLogger__",
- "msg": "Activating boost mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 140,
- "funcName": "__test_boost_mode__",
- "created": 1675954693.6365023,
- "msecs": 636.5022659301758,
- "relativeCreated": 79532.74464607239,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Activating boost mode",
- "asctime": "2023-02-09 15:58:13,636",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.start_boost",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/start_boost",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954693.3345823,
- "msecs": 334.5823287963867,
- "relativeCreated": 79230.8247089386,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/marion/heating_valve/start_boost and payload true",
- "asctime": "2023-02-09 15:58:13,334"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.start_boost",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/start_boost",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.3356838,
- "msecs": 335.68382263183594,
- "relativeCreated": 79231.92620277405,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/start_boost and payload b'true'",
- "asctime": "2023-02-09 15:58:13,335"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.boost_timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/boost_timer",
- "b'900'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.3484237,
- "msecs": 348.42371940612793,
- "relativeCreated": 79244.66609954834,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/boost_timer and payload b'900'",
- "asctime": "2023-02-09 15:58:13,348"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.3490222,
- "msecs": 349.02215003967285,
- "relativeCreated": 79245.26453018188,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:13,349"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve/set",
- "b'{\"current_heating_setpoint\": 30}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.349609,
- "msecs": 349.6088981628418,
- "relativeCreated": 79245.85127830505,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 30}'",
- "asctime": "2023-02-09 15:58:13,349"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954693.3498883,
- "msecs": 349.8883247375488,
- "relativeCreated": 79246.13070487976,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:58:13,349"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/valve_temperature_setpoint",
- "b'30'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.3504834,
- "msecs": 350.4834175109863,
- "relativeCreated": 79246.7257976532,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'30'",
- "asctime": "2023-02-09 15:58:13,350"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.3511267,
- "msecs": 351.12667083740234,
- "relativeCreated": 79247.36905097961,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:13,351"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.3516345,
- "msecs": 351.6345024108887,
- "relativeCreated": 79247.8768825531,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 30, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:58:13,351"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.393575,
- "msecs": 393.57495307922363,
- "relativeCreated": 79289.81733322144,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:58:13,393"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.4349685,
- "msecs": 434.9684715270996,
- "relativeCreated": 79331.21085166931,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:13,434"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.boost_timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/boost_timer",
- "b'899'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.5141208,
- "msecs": 514.1208171844482,
- "relativeCreated": 79410.36319732666,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/boost_timer and payload b'899'",
- "asctime": "2023-02-09 15:58:13,514"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.514918,
- "msecs": 514.9180889129639,
- "relativeCreated": 79411.16046905518,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:13,514"
- }
- ],
- "time_consumption": 0.12158417701721191
- },
- {
- "name": "__tLogger__",
- "msg": "Boost timer is greater expectation (Content %s and Type is %s).",
- "args": [
- "899",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 230,
- "funcName": "greater_chk",
- "created": 1675954693.6372075,
- "msecs": 637.2075080871582,
- "relativeCreated": 79533.44988822937,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Boost timer is greater expectation (Content 899 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:13,637",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Boost timer",
- "899",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954693.6368983,
- "msecs": 636.8982791900635,
- "relativeCreated": 79533.14065933228,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Boost timer): 899 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:13,636"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Boost timer",
- ">",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954693.637037,
- "msecs": 637.0370388031006,
- "relativeCreated": 79533.27941894531,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Boost timer): result > 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:13,637"
- }
- ],
- "time_consumption": 0.0001704692840576172
- },
- {
- "name": "__tLogger__",
- "msg": "Setting postconditions (Default setpoint)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 145,
- "funcName": "__test_boost_mode__",
- "created": 1675954693.9394374,
- "msecs": 939.4373893737793,
- "relativeCreated": 79835.67976951599,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting postconditions (Default setpoint)",
- "asctime": "2023-02-09 15:58:13,939",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954693.6374965,
- "msecs": 637.4964714050293,
- "relativeCreated": 79533.73885154724,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:58:13,637"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.6386366,
- "msecs": 638.636589050293,
- "relativeCreated": 79534.8789691925,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:58:13,638"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.boost_timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/boost_timer",
- "b'0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.651858,
- "msecs": 651.8580913543701,
- "relativeCreated": 79548.10047149658,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/boost_timer and payload b'0'",
- "asctime": "2023-02-09 15:58:13,651"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.6525598,
- "msecs": 652.559757232666,
- "relativeCreated": 79548.80213737488,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:13,652"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve/set",
- "b'{\"current_heating_setpoint\": 23}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.6531727,
- "msecs": 653.1727313995361,
- "relativeCreated": 79549.41511154175,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
- "asctime": "2023-02-09 15:58:13,653"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954693.653488,
- "msecs": 653.4879207611084,
- "relativeCreated": 79549.73030090332,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:58:13,653"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/valve_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.6541345,
- "msecs": 654.1345119476318,
- "relativeCreated": 79550.37689208984,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:58:13,654"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.6548638,
- "msecs": 654.8638343811035,
- "relativeCreated": 79551.10621452332,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:13,654"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.6554434,
- "msecs": 655.4434299468994,
- "relativeCreated": 79551.68581008911,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:58:13,655"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.697954,
- "msecs": 697.9539394378662,
- "relativeCreated": 79594.19631958008,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:58:13,697"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.7070346,
- "msecs": 707.0345878601074,
- "relativeCreated": 79603.27696800232,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:13,707"
- }
- ],
- "time_consumption": 0.23240280151367188
- },
- {
- "name": "__tLogger__",
- "msg": "Boost timer is correct (Content %s and Type is %s).",
- "args": [
- "0",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954693.9400866,
- "msecs": 940.0866031646729,
- "relativeCreated": 79836.32898330688,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Boost timer is correct (Content 0 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:13,940",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Boost timer",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954693.9398377,
- "msecs": 939.8376941680908,
- "relativeCreated": 79836.0800743103,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Boost timer): 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:13,939"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Boost timer",
- "=",
- "0",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954693.939979,
- "msecs": 939.979076385498,
- "relativeCreated": 79836.22145652771,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Boost timer): result = 0 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:13,939"
- }
- ],
- "time_consumption": 0.00010752677917480469
- }
- ],
- "time_consumption": 0.9086558818817139,
- "time_start": "2023-02-09 15:58:13,031",
- "time_finished": "2023-02-09 15:58:13,940"
- },
- "Default temperature test for device and virtual device: zigbee/gfw/marion/heating_valve": {
- "name": "__tLogger__",
- "msg": "Default temperature test for device and virtual device: zigbee/gfw/marion/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 50,
- "funcName": "test_default_temperature",
- "created": 1675954693.9405653,
- "msecs": 940.5653476715088,
- "relativeCreated": 79836.80772781372,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Default temperature test for device and virtual device: zigbee/gfw/marion/heating_valve",
- "asctime": "2023-02-09 15:58:13,940",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Valve setpoint to %.1f)",
- "args": [
- 18
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 60,
- "funcName": "__test_default_temperature__",
- "created": 1675954694.2429516,
- "msecs": 242.9516315460205,
- "relativeCreated": 80139.19401168823,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Valve setpoint to 18.0)",
- "asctime": "2023-02-09 15:58:14,242",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954693.9409935,
- "msecs": 940.9935474395752,
- "relativeCreated": 79837.23592758179,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:58:13,940"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.9421093,
- "msecs": 942.1093463897705,
- "relativeCreated": 79838.35172653198,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:58:13,942"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve/set",
- "b'{\"current_heating_setpoint\": 18}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.9646358,
- "msecs": 964.6358489990234,
- "relativeCreated": 79860.87822914124,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'",
- "asctime": "2023-02-09 15:58:13,964"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/valve_temperature_setpoint",
- "b'18'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.965356,
- "msecs": 965.3561115264893,
- "relativeCreated": 79861.5984916687,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'18'",
- "asctime": "2023-02-09 15:58:13,965"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.9659405,
- "msecs": 965.9404754638672,
- "relativeCreated": 79862.18285560608,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:13,965"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/user_temperature_setpoint",
- "b'18'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.966537,
- "msecs": 966.5369987487793,
- "relativeCreated": 79862.77937889099,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'18'",
- "asctime": "2023-02-09 15:58:13,966"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.9673362,
- "msecs": 967.3361778259277,
- "relativeCreated": 79863.57855796814,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:13,967"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.9681165,
- "msecs": 968.1165218353271,
- "relativeCreated": 79864.35890197754,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:58:13,968"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954693.9689803,
- "msecs": 968.9803123474121,
- "relativeCreated": 79865.22269248962,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:13,968"
- }
- ],
- "time_consumption": 0.2739713191986084
- },
- {
- "name": "__tLogger__",
- "msg": "Valve temperature setpoint (is not default temperature) is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954694.2436154,
- "msecs": 243.61538887023926,
- "relativeCreated": 80139.85776901245,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Valve temperature setpoint (is not default temperature) is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:14,243",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Valve temperature setpoint (is not default temperature)",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954694.243371,
- "msecs": 243.37100982666016,
- "relativeCreated": 80139.61338996887,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Valve temperature setpoint (is not default temperature)): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:14,243"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Valve temperature setpoint (is not default temperature)",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954694.2435079,
- "msecs": 243.50786209106445,
- "relativeCreated": 80139.75024223328,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Valve temperature setpoint (is not default temperature)): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:14,243"
- }
- ],
- "time_consumption": 0.00010752677917480469
- },
- {
- "name": "__tLogger__",
- "msg": "Triggering set to default temperature (%.1f)",
- "args": [
- 23
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 66,
- "funcName": "__test_default_temperature__",
- "created": 1675954694.5449328,
- "msecs": 544.9328422546387,
- "relativeCreated": 80441.17522239685,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Triggering set to default temperature (23.0)",
- "asctime": "2023-02-09 15:58:14,544",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954694.2439265,
- "msecs": 243.9265251159668,
- "relativeCreated": 80140.16890525818,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:58:14,243"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.2450922,
- "msecs": 245.09215354919434,
- "relativeCreated": 80141.3345336914,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:58:14,245"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/user_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.2644215,
- "msecs": 264.4214630126953,
- "relativeCreated": 80160.6638431549,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:58:14,264"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.265121,
- "msecs": 265.1209831237793,
- "relativeCreated": 80161.36336326599,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:14,265"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve/set",
- "b'{\"current_heating_setpoint\": 23}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.2656624,
- "msecs": 265.66243171691895,
- "relativeCreated": 80161.90481185913,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
- "asctime": "2023-02-09 15:58:14,265"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954694.2659492,
- "msecs": 265.9492492675781,
- "relativeCreated": 80162.19162940979,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:58:14,265"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/valve_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.266533,
- "msecs": 266.53289794921875,
- "relativeCreated": 80162.77527809143,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:58:14,266"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.267186,
- "msecs": 267.18592643737793,
- "relativeCreated": 80163.42830657959,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:14,267"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.2676954,
- "msecs": 267.69542694091797,
- "relativeCreated": 80163.93780708313,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:58:14,267"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.3127277,
- "msecs": 312.727689743042,
- "relativeCreated": 80208.97006988525,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:58:14,312"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.3549516,
- "msecs": 354.9516201019287,
- "relativeCreated": 80251.19400024414,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:14,354"
- }
- ],
- "time_consumption": 0.18998122215270996
- },
- {
- "name": "__tLogger__",
- "msg": "Valve temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "23",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954694.5456712,
- "msecs": 545.6712245941162,
- "relativeCreated": 80441.91360473633,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Valve temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:14,545",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Valve temperature setpoint",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954694.5454206,
- "msecs": 545.4206466674805,
- "relativeCreated": 80441.66302680969,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Valve temperature setpoint): 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:14,545"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Valve temperature setpoint",
- "=",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954694.545561,
- "msecs": 545.5610752105713,
- "relativeCreated": 80441.80345535278,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Valve temperature setpoint): result = 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:14,545"
- }
- ],
- "time_consumption": 0.00011014938354492188
- }
- ],
- "time_consumption": 0.6051058769226074,
- "time_start": "2023-02-09 15:58:13,940",
- "time_finished": "2023-02-09 15:58:14,545"
- },
- "Summer mode test: zigbee/gfw/marion/heating_valve": {
- "name": "__tLogger__",
- "msg": "Summer mode test: zigbee/gfw/marion/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 74,
- "funcName": "test_summer_mode",
- "created": 1675954694.5461345,
- "msecs": 546.1344718933105,
- "relativeCreated": 80442.37685203552,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Summer mode test: zigbee/gfw/marion/heating_valve",
- "asctime": "2023-02-09 15:58:14,546",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Setting preconditions (Default setpoint)",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 79,
- "funcName": "__test_summer_mode__",
- "created": 1675954694.848421,
- "msecs": 848.4210968017578,
- "relativeCreated": 80744.66347694397,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Setting preconditions (Default setpoint)",
- "asctime": "2023-02-09 15:58:14,848",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/set_default_temperature",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954694.5464892,
- "msecs": 546.4892387390137,
- "relativeCreated": 80442.73161888123,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload true",
- "asctime": "2023-02-09 15:58:14,546"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.set_default_temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/set_default_temperature",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.5476058,
- "msecs": 547.6057529449463,
- "relativeCreated": 80443.84813308716,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/set_default_temperature and payload b'true'",
- "asctime": "2023-02-09 15:58:14,547"
- }
- ],
- "time_consumption": 0.3008153438568115
- },
- {
- "name": "__tLogger__",
- "msg": "Summer mode is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954694.8490837,
- "msecs": 849.083662033081,
- "relativeCreated": 80745.3260421753,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:14,849",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Summer mode",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954694.8488083,
- "msecs": 848.8082885742188,
- "relativeCreated": 80745.05066871643,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Summer mode): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:14,848"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Summer mode",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954694.8489447,
- "msecs": 848.9446640014648,
- "relativeCreated": 80745.18704414368,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Summer mode): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:14,848"
- }
- ],
- "time_consumption": 0.00013899803161621094
- },
- {
- "name": "__tLogger__",
- "msg": "Activating summer mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 86,
- "funcName": "__test_summer_mode__",
- "created": 1675954695.1513972,
- "msecs": 151.3972282409668,
- "relativeCreated": 81047.63960838318,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Activating summer mode",
- "asctime": "2023-02-09 15:58:15,151",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.summer_mode",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/summer_mode",
- "true"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954694.8494608,
- "msecs": 849.4608402252197,
- "relativeCreated": 80745.70322036743,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/marion/heating_valve/summer_mode and payload true",
- "asctime": "2023-02-09 15:58:14,849"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.summer_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/summer_mode",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.8505704,
- "msecs": 850.5704402923584,
- "relativeCreated": 80746.81282043457,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/summer_mode and payload b'true'",
- "asctime": "2023-02-09 15:58:14,850"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve/set",
- "b'{\"current_heating_setpoint\": 5}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.8689156,
- "msecs": 868.9155578613281,
- "relativeCreated": 80765.15793800354,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 5}'",
- "asctime": "2023-02-09 15:58:14,868"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954694.8693845,
- "msecs": 869.3845272064209,
- "relativeCreated": 80765.62690734863,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:58:14,869"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/valve_temperature_setpoint",
- "b'5'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.8700979,
- "msecs": 870.0978755950928,
- "relativeCreated": 80766.3402557373,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'5'",
- "asctime": "2023-02-09 15:58:14,870"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.87086,
- "msecs": 870.8600997924805,
- "relativeCreated": 80767.10247993469,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:14,870"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.summer_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/summer_mode",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.8714797,
- "msecs": 871.4797496795654,
- "relativeCreated": 80767.72212982178,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/summer_mode and payload b'true'",
- "asctime": "2023-02-09 15:58:14,871"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.8720582,
- "msecs": 872.0581531524658,
- "relativeCreated": 80768.30053329468,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:14,872"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.8726258,
- "msecs": 872.6258277893066,
- "relativeCreated": 80768.86820793152,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 5, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:58:14,872"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.9136,
- "msecs": 913.599967956543,
- "relativeCreated": 80809.84234809875,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:58:14,913"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954694.955026,
- "msecs": 955.0259113311768,
- "relativeCreated": 80851.26829147339,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:14,955"
- }
- ],
- "time_consumption": 0.19637131690979004
- },
- {
- "name": "__tLogger__",
- "msg": "Summer mode is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954695.1520348,
- "msecs": 152.03475952148438,
- "relativeCreated": 81048.2771396637,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Summer mode is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:15,152",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Summer mode",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954695.1517875,
- "msecs": 151.78751945495605,
- "relativeCreated": 81048.02989959717,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Summer mode): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:15,151"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Summer mode",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954695.1519253,
- "msecs": 151.92532539367676,
- "relativeCreated": 81048.16770553589,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Summer mode): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:15,151"
- }
- ],
- "time_consumption": 0.00010943412780761719
- },
- {
- "name": "__tLogger__",
- "msg": "Temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "5",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954695.1524208,
- "msecs": 152.4207592010498,
- "relativeCreated": 81048.66313934326,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Temperature setpoint is correct (Content 5 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:15,152",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Temperature setpoint",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954695.1522055,
- "msecs": 152.2054672241211,
- "relativeCreated": 81048.44784736633,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Temperature setpoint): 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:15,152"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Temperature setpoint",
- "=",
- "5",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954695.1523046,
- "msecs": 152.30464935302734,
- "relativeCreated": 81048.54702949524,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Temperature setpoint): result = 5 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:15,152"
- }
- ],
- "time_consumption": 0.00011610984802246094
- },
- {
- "name": "__tLogger__",
- "msg": "Deactivating summer mode",
- "args": [],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 92,
- "funcName": "__test_summer_mode__",
- "created": 1675954695.4546745,
- "msecs": 454.67448234558105,
- "relativeCreated": 81350.9168624878,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Deactivating summer mode",
- "asctime": "2023-02-09 15:58:15,454",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.summer_mode",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/summer_mode",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954695.15272,
- "msecs": 152.71997451782227,
- "relativeCreated": 81048.96235466003,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/marion/heating_valve/summer_mode and payload false",
- "asctime": "2023-02-09 15:58:15,152"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.summer_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/summer_mode",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.153829,
- "msecs": 153.82909774780273,
- "relativeCreated": 81050.07147789001,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/summer_mode and payload b'false'",
- "asctime": "2023-02-09 15:58:15,153"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve/set",
- "b'{\"current_heating_setpoint\": 23}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.1649914,
- "msecs": 164.9913787841797,
- "relativeCreated": 81061.23375892639,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
- "asctime": "2023-02-09 15:58:15,164"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954695.1654594,
- "msecs": 165.45939445495605,
- "relativeCreated": 81061.70177459717,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:58:15,165"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/valve_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.1661525,
- "msecs": 166.1524772644043,
- "relativeCreated": 81062.39485740662,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:58:15,166"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.1669106,
- "msecs": 166.91064834594727,
- "relativeCreated": 81063.15302848816,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:15,166"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.summer_mode",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/summer_mode",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.1674933,
- "msecs": 167.49334335327148,
- "relativeCreated": 81063.73572349548,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/summer_mode and payload b'false'",
- "asctime": "2023-02-09 15:58:15,167"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.168058,
- "msecs": 168.05791854858398,
- "relativeCreated": 81064.3002986908,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:15,168"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.1686418,
- "msecs": 168.6418056488037,
- "relativeCreated": 81064.88418579102,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:58:15,168"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.2143903,
- "msecs": 214.39027786254883,
- "relativeCreated": 81110.63265800476,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:58:15,214"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.258168,
- "msecs": 258.16798210144043,
- "relativeCreated": 81154.41036224365,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:15,258"
- }
- ],
- "time_consumption": 0.19650650024414062
- },
- {
- "name": "__tLogger__",
- "msg": "Summer mode is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954695.4553537,
- "msecs": 455.3537368774414,
- "relativeCreated": 81351.59611701965,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Summer mode is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:15,455",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Summer mode",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954695.4551008,
- "msecs": 455.10077476501465,
- "relativeCreated": 81351.34315490723,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Summer mode): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:15,455"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Summer mode",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954695.455243,
- "msecs": 455.2431106567383,
- "relativeCreated": 81351.48549079895,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Summer mode): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:15,455"
- }
- ],
- "time_consumption": 0.000110626220703125
- },
- {
- "name": "__tLogger__",
- "msg": "Temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "23",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954695.455717,
- "msecs": 455.7170867919922,
- "relativeCreated": 81351.9594669342,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:15,455",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Temperature setpoint",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954695.4555242,
- "msecs": 455.524206161499,
- "relativeCreated": 81351.76658630371,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Temperature setpoint): 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:15,455"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Temperature setpoint",
- "=",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954695.4556265,
- "msecs": 455.6264877319336,
- "relativeCreated": 81351.86886787415,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Temperature setpoint): result = 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:15,455"
- }
- ],
- "time_consumption": 9.059906005859375e-05
- }
- ],
- "time_consumption": 0.9095826148986816,
- "time_start": "2023-02-09 15:58:14,546",
- "time_finished": "2023-02-09 15:58:15,455"
- },
- "User temperature setpoint test for device and virtual device: zigbee/gfw/marion/heating_valve": {
- "name": "__tLogger__",
- "msg": "User temperature setpoint test for device and virtual device: zigbee/gfw/marion/heating_valve",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "test_user_temperature_setpoint",
- "created": 1675954695.4562054,
- "msecs": 456.2053680419922,
- "relativeCreated": 81352.4477481842,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "User temperature setpoint test for device and virtual device: zigbee/gfw/marion/heating_valve",
- "asctime": "2023-02-09 15:58:15,456",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Changing valve temperature setpoint to '%.1f'",
- "args": [
- 18
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 33,
- "funcName": "__test_user_temperature_setpoint__",
- "created": 1675954695.757463,
- "msecs": 757.4629783630371,
- "relativeCreated": 81653.70535850525,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing valve temperature setpoint to '18.0'",
- "asctime": "2023-02-09 15:58:15,757",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954695.4566257,
- "msecs": 456.62569999694824,
- "relativeCreated": 81352.86808013916,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:58:15,456"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.4577844,
- "msecs": 457.78441429138184,
- "relativeCreated": 81354.0267944336,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:58:15,457"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve/set",
- "b'{\"current_heating_setpoint\": 18}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.4750695,
- "msecs": 475.069522857666,
- "relativeCreated": 81371.31190299988,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'",
- "asctime": "2023-02-09 15:58:15,475"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/valve_temperature_setpoint",
- "b'18'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.4754524,
- "msecs": 475.4524230957031,
- "relativeCreated": 81371.69480323792,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'18'",
- "asctime": "2023-02-09 15:58:15,475"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.4757855,
- "msecs": 475.785493850708,
- "relativeCreated": 81372.02787399292,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:15,475"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/user_temperature_setpoint",
- "b'18'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.4760878,
- "msecs": 476.0878086090088,
- "relativeCreated": 81372.33018875122,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'18'",
- "asctime": "2023-02-09 15:58:15,476"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.4763892,
- "msecs": 476.38916969299316,
- "relativeCreated": 81372.6315498352,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:15,476"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.4766681,
- "msecs": 476.668119430542,
- "relativeCreated": 81372.91049957275,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:58:15,476"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.476979,
- "msecs": 476.97901725769043,
- "relativeCreated": 81373.2213973999,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:15,476"
- }
- ],
- "time_consumption": 0.2804839611053467
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
- "args": [
- "18",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954695.7581282,
- "msecs": 758.1281661987305,
- "relativeCreated": 81654.37054634094,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device valve temperature is correct (Content 18 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:15,758",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954695.7578855,
- "msecs": 757.8854560852051,
- "relativeCreated": 81654.12783622742,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device valve temperature): 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:15,757"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "=",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954695.758022,
- "msecs": 758.0220699310303,
- "relativeCreated": 81654.26445007324,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device valve temperature): result = 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:15,758"
- }
- ],
- "time_consumption": 0.00010609626770019531
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
- "args": [
- "18",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954695.7585413,
- "msecs": 758.5413455963135,
- "relativeCreated": 81654.78372573853,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device user temperature is correct (Content 18 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:15,758",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device user temperature",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954695.7583447,
- "msecs": 758.3446502685547,
- "relativeCreated": 81654.58703041077,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device user temperature): 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:15,758"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device user temperature",
- "=",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954695.7584443,
- "msecs": 758.4443092346191,
- "relativeCreated": 81654.68668937683,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device user temperature): result = 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:15,758"
- }
- ],
- "time_consumption": 9.703636169433594e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing videv user temperature setpoint to '%.1f'",
- "args": [
- 23
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 41,
- "funcName": "__test_user_temperature_setpoint__",
- "created": 1675954696.0607684,
- "msecs": 60.76836585998535,
- "relativeCreated": 81957.0107460022,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing videv user temperature setpoint to '23.0'",
- "asctime": "2023-02-09 15:58:16,060",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/user_temperature_setpoint",
- "23"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954695.7588441,
- "msecs": 758.8441371917725,
- "relativeCreated": 81655.08651733398,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload 23",
- "asctime": "2023-02-09 15:58:15,758"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/user_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.7599363,
- "msecs": 759.9363327026367,
- "relativeCreated": 81656.17871284485,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:58:15,759"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve/set",
- "b'{\"current_heating_setpoint\": 23}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.7794695,
- "msecs": 779.4694900512695,
- "relativeCreated": 81675.71187019348,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
- "asctime": "2023-02-09 15:58:15,779"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954695.779908,
- "msecs": 779.9079418182373,
- "relativeCreated": 81676.15032196045,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:58:15,779"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/valve_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.7806118,
- "msecs": 780.6117534637451,
- "relativeCreated": 81676.85413360596,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:58:15,780"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.7814097,
- "msecs": 781.409740447998,
- "relativeCreated": 81677.65212059021,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:15,781"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/user_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.7819989,
- "msecs": 781.998872756958,
- "relativeCreated": 81678.24125289917,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:58:15,781"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.7825642,
- "msecs": 782.5641632080078,
- "relativeCreated": 81678.80654335022,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:15,782"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.783124,
- "msecs": 783.1239700317383,
- "relativeCreated": 81679.36635017395,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:58:15,783"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.829784,
- "msecs": 829.7839164733887,
- "relativeCreated": 81726.0262966156,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:58:15,829"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954695.8750176,
- "msecs": 875.0176429748535,
- "relativeCreated": 81771.26002311707,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:15,875"
- }
- ],
- "time_consumption": 0.18575072288513184
- },
- {
- "name": "__tLogger__",
- "msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "23",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954696.0614653,
- "msecs": 61.46526336669922,
- "relativeCreated": 81957.70764350891,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Valve device temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:16,061",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Valve device temperature setpoint",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954696.0612214,
- "msecs": 61.22136116027832,
- "relativeCreated": 81957.46374130249,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Valve device temperature setpoint): 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:16,061"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Valve device temperature setpoint",
- "=",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954696.061359,
- "msecs": 61.35892868041992,
- "relativeCreated": 81957.60130882263,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Valve device temperature setpoint): result = 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:16,061"
- }
- ],
- "time_consumption": 0.00010633468627929688
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
- "args": [
- "23",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954696.0618196,
- "msecs": 61.81955337524414,
- "relativeCreated": 81958.06193351746,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device valve temperature is correct (Content 23 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:16,061",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954696.0616338,
- "msecs": 61.63382530212402,
- "relativeCreated": 81957.87620544434,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device valve temperature): 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:16,061"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "=",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954696.0617313,
- "msecs": 61.73133850097656,
- "relativeCreated": 81957.97371864319,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device valve temperature): result = 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:16,061"
- }
- ],
- "time_consumption": 8.821487426757812e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing valve temperature setpoint to '%.1f'",
- "args": [
- 18
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 33,
- "funcName": "__test_user_temperature_setpoint__",
- "created": 1675954696.3640726,
- "msecs": 364.0725612640381,
- "relativeCreated": 82260.31494140625,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing valve temperature setpoint to '18.0'",
- "asctime": "2023-02-09 15:58:16,364",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954696.0621238,
- "msecs": 62.123775482177734,
- "relativeCreated": 81958.36615562439,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:58:16,062"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.0632293,
- "msecs": 63.22932243347168,
- "relativeCreated": 81959.47170257568,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 18, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:58:16,063"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve/set",
- "b'{\"current_heating_setpoint\": 18}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.0826385,
- "msecs": 82.63850212097168,
- "relativeCreated": 81978.88088226318,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 18}'",
- "asctime": "2023-02-09 15:58:16,082"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/valve_temperature_setpoint",
- "b'18'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.0834076,
- "msecs": 83.40764045715332,
- "relativeCreated": 81979.65002059937,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'18'",
- "asctime": "2023-02-09 15:58:16,083"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.0840976,
- "msecs": 84.09762382507324,
- "relativeCreated": 81980.34000396729,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:16,084"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/user_temperature_setpoint",
- "b'18'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.0852838,
- "msecs": 85.28375625610352,
- "relativeCreated": 81981.52613639832,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'18'",
- "asctime": "2023-02-09 15:58:16,085"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.0859272,
- "msecs": 85.92724800109863,
- "relativeCreated": 81982.16962814331,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:16,085"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.0864916,
- "msecs": 86.49158477783203,
- "relativeCreated": 81982.73396492004,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:58:16,086"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.0870984,
- "msecs": 87.09836006164551,
- "relativeCreated": 81983.34074020386,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:16,087"
- }
- ],
- "time_consumption": 0.2769742012023926
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
- "args": [
- "18",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954696.3647323,
- "msecs": 364.7322654724121,
- "relativeCreated": 82260.97464561462,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device valve temperature is correct (Content 18 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:16,364",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954696.36449,
- "msecs": 364.4900321960449,
- "relativeCreated": 82260.73241233826,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device valve temperature): 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:16,364"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "=",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954696.3646255,
- "msecs": 364.6254539489746,
- "relativeCreated": 82260.86783409119,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device valve temperature): result = 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:16,364"
- }
- ],
- "time_consumption": 0.0001068115234375
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device user temperature is correct (Content %s and Type is %s).",
- "args": [
- "18",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954696.3651526,
- "msecs": 365.15259742736816,
- "relativeCreated": 82261.39497756958,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device user temperature is correct (Content 18 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:16,365",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device user temperature",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954696.3648996,
- "msecs": 364.8996353149414,
- "relativeCreated": 82261.14201545715,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device user temperature): 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:16,364"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device user temperature",
- "=",
- "18",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954696.3649964,
- "msecs": 364.99643325805664,
- "relativeCreated": 82261.23881340027,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device user temperature): result = 18 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:16,364"
- }
- ],
- "time_consumption": 0.00015616416931152344
- },
- {
- "name": "__tLogger__",
- "msg": "Changing videv user temperature setpoint to '%.1f'",
- "args": [
- 23
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/heating.py",
- "filename": "heating.py",
- "module": "heating",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 41,
- "funcName": "__test_user_temperature_setpoint__",
- "created": 1675954696.6673841,
- "msecs": 667.384147644043,
- "relativeCreated": 82563.62652778625,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing videv user temperature setpoint to '23.0'",
- "asctime": "2023-02-09 15:58:16,667",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/user_temperature_setpoint",
- "23"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954696.3654525,
- "msecs": 365.45252799987793,
- "relativeCreated": 82261.69490814209,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload 23",
- "asctime": "2023-02-09 15:58:16,365"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/user_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.3665633,
- "msecs": 366.5633201599121,
- "relativeCreated": 82262.80570030212,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:58:16,366"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve.set",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve/set",
- "b'{\"current_heating_setpoint\": 23}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.38596,
- "msecs": 385.9601020812988,
- "relativeCreated": 82282.20248222351,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve/set and payload b'{\"current_heating_setpoint\": 23}'",
- "asctime": "2023-02-09 15:58:16,385"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954696.386404,
- "msecs": 386.40403747558594,
- "relativeCreated": 82282.6464176178,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic zigbee/gfw/marion/heating_valve and payload {\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}",
- "asctime": "2023-02-09 15:58:16,386"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.valve_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/valve_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.387127,
- "msecs": 387.1269226074219,
- "relativeCreated": 82283.36930274963,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/valve_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:58:16,387"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.3878849,
- "msecs": 387.88485527038574,
- "relativeCreated": 82284.1272354126,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:16,387"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.user_temperature_setpoint",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/user_temperature_setpoint",
- "b'23'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.3884661,
- "msecs": 388.46611976623535,
- "relativeCreated": 82284.70849990845,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/user_temperature_setpoint and payload b'23'",
- "asctime": "2023-02-09 15:58:16,388"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.3890333,
- "msecs": 389.03331756591797,
- "relativeCreated": 82285.27569770813,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:16,389"
- },
- {
- "name": "smart_brain.mqtt.zigbee.gfw.marion.heating_valve",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "zigbee/gfw/marion/heating_valve",
- "b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.3896742,
- "msecs": 389.67418670654297,
- "relativeCreated": 82285.91656684875,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic zigbee/gfw/marion/heating_valve and payload b'{\"current_heating_setpoint\": 23, \"local_temperature\": 20.7, \"__type__\": \"brennenstuhl_heating_valve\"}'",
- "asctime": "2023-02-09 15:58:16,389"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.temperature",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/temperature",
- "b'20.7'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.437829,
- "msecs": 437.82901763916016,
- "relativeCreated": 82334.07139778137,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/temperature and payload b'20.7'",
- "asctime": "2023-02-09 15:58:16,437"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.heating_valve.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/heating_valve/__info__",
- "b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.482179,
- "msecs": 482.1789264678955,
- "relativeCreated": 82378.42130661011,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/heating_valve/__info__ and payload b'{\"__type__\": \"videv_heating\", \"user_temperature_setpoint\": {\"control\": true, \"display\": true}, \"away_mode\": {\"control\": true, \"display\": true}, \"summer_mode\": {\"control\": true, \"display\": true}, \"start_boost\": {\"control\": true}, \"set_default_temperature\": {\"control\": true}, \"valve_temperature_setpoint\": {\"display\": true}, \"boost_timer\": {\"display\": true}, \"temperature\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:16,482"
- }
- ],
- "time_consumption": 0.18520522117614746
- },
- {
- "name": "__tLogger__",
- "msg": "Valve device temperature setpoint is correct (Content %s and Type is %s).",
- "args": [
- "23",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954696.6680524,
- "msecs": 668.0524349212646,
- "relativeCreated": 82564.29481506348,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Valve device temperature setpoint is correct (Content 23 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:16,668",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Valve device temperature setpoint",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954696.6678045,
- "msecs": 667.804479598999,
- "relativeCreated": 82564.04685974121,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Valve device temperature setpoint): 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:16,667"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Valve device temperature setpoint",
- "=",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954696.6679401,
- "msecs": 667.9401397705078,
- "relativeCreated": 82564.18251991272,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Valve device temperature setpoint): result = 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:16,667"
- }
- ],
- "time_consumption": 0.00011229515075683594
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device valve temperature is correct (Content %s and Type is %s).",
- "args": [
- "23",
- "<class 'int'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954696.6684117,
- "msecs": 668.4117317199707,
- "relativeCreated": 82564.65411186218,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device valve temperature is correct (Content 23 and Type is <class 'int'>).",
- "asctime": "2023-02-09 15:58:16,668",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954696.6682255,
- "msecs": 668.2255268096924,
- "relativeCreated": 82564.4679069519,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device valve temperature): 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:16,668"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device valve temperature",
- "=",
- "23",
- "<class 'int'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954696.6683214,
- "msecs": 668.3213710784912,
- "relativeCreated": 82564.5637512207,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device valve temperature): result = 23 (<class 'int'>)",
- "asctime": "2023-02-09 15:58:16,668"
- }
- ],
- "time_consumption": 9.036064147949219e-05
- }
- ],
- "time_consumption": 1.2122063636779785,
- "time_start": "2023-02-09 15:58:15,456",
- "time_finished": "2023-02-09 15:58:16,668"
- },
- "Power On/ Off test for device and virtual device: shellies/gfw/marion/main_light": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: shellies/gfw/marion/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954696.6689138,
- "msecs": 668.9138412475586,
- "relativeCreated": 82565.15622138977,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: shellies/gfw/marion/main_light",
- "asctime": "2023-02-09 15:58:16,668",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954696.669346,
- "msecs": 669.3460941314697,
- "relativeCreated": 82565.58847427368,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:16,669",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954696.6691468,
- "msecs": 669.1467761993408,
- "relativeCreated": 82565.38915634155,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:16,669"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954696.6692545,
- "msecs": 669.2545413970947,
- "relativeCreated": 82565.4969215393,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:16,669"
- }
- ],
- "time_consumption": 9.1552734375e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954696.9714935,
- "msecs": 971.4934825897217,
- "relativeCreated": 82867.73586273193,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:58:16,971",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/marion/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954696.669577,
- "msecs": 669.57688331604,
- "relativeCreated": 82565.81926345825,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:58:16,669"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/marion/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.6706681,
- "msecs": 670.6681251525879,
- "relativeCreated": 82566.9105052948,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:58:16,670"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.6728473,
- "msecs": 672.8472709655762,
- "relativeCreated": 82569.08965110779,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:58:16,672"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.673594,
- "msecs": 673.5939979553223,
- "relativeCreated": 82569.83637809753,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:16,673"
- }
- ],
- "time_consumption": 0.2978994846343994
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954696.9721322,
- "msecs": 972.1322059631348,
- "relativeCreated": 82868.37458610535,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:16,972",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954696.9718888,
- "msecs": 971.8887805938721,
- "relativeCreated": 82868.13116073608,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:16,971"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954696.9720256,
- "msecs": 972.0256328582764,
- "relativeCreated": 82868.26801300049,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:16,972"
- }
- ],
- "time_consumption": 0.00010657310485839844
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954696.9724915,
- "msecs": 972.4915027618408,
- "relativeCreated": 82868.73388290405,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:16,972",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954696.9723036,
- "msecs": 972.3036289215088,
- "relativeCreated": 82868.54600906372,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:16,972"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954696.972402,
- "msecs": 972.4020957946777,
- "relativeCreated": 82868.64447593689,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:16,972"
- }
- ],
- "time_consumption": 8.940696716308594e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954697.274768,
- "msecs": 274.7681140899658,
- "relativeCreated": 83171.01049423218,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:58:17,274",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954696.972767,
- "msecs": 972.7671146392822,
- "relativeCreated": 82869.0094947815,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/marion/main_light/state and payload false",
- "asctime": "2023-02-09 15:58:16,972"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.9738808,
- "msecs": 973.8807678222656,
- "relativeCreated": 82870.12314796448,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:16,973"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/marion/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.9755504,
- "msecs": 975.5504131317139,
- "relativeCreated": 82871.79279327393,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/marion/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:58:16,975"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/marion/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954696.975882,
- "msecs": 975.8820533752441,
- "relativeCreated": 82872.12443351746,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:58:16,975"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/marion/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954696.976905,
- "msecs": 976.905107498169,
- "relativeCreated": 82873.14748764038,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:58:16,976"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954697.0210772,
- "msecs": 21.07715606689453,
- "relativeCreated": 82917.3195362091,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:17,021"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954697.021798,
- "msecs": 21.797895431518555,
- "relativeCreated": 82918.04027557373,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:17,021"
- }
- ],
- "time_consumption": 0.25297021865844727
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954697.2754261,
- "msecs": 275.42614936828613,
- "relativeCreated": 83171.6685295105,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:17,275",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954697.2751825,
- "msecs": 275.18248558044434,
- "relativeCreated": 83171.42486572266,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:17,275"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954697.2753177,
- "msecs": 275.3176689147949,
- "relativeCreated": 83171.560049057,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:17,275"
- }
- ],
- "time_consumption": 0.00010848045349121094
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954697.2757893,
- "msecs": 275.7892608642578,
- "relativeCreated": 83172.03164100647,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:17,275",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954697.2755985,
- "msecs": 275.59852600097656,
- "relativeCreated": 83171.84090614319,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:17,275"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954697.2756999,
- "msecs": 275.6998538970947,
- "relativeCreated": 83171.9422340393,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:17,275"
- }
- ],
- "time_consumption": 8.940696716308594e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954697.5779922,
- "msecs": 577.9922008514404,
- "relativeCreated": 83474.23458099365,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:58:17,577",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/marion/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954697.2760499,
- "msecs": 276.0498523712158,
- "relativeCreated": 83172.29223251343,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:58:17,276"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/marion/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954697.277169,
- "msecs": 277.16898918151855,
- "relativeCreated": 83173.41136932373,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:58:17,277"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954697.2792797,
- "msecs": 279.2797088623047,
- "relativeCreated": 83175.52208900452,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:58:17,279"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954697.2799418,
- "msecs": 279.9417972564697,
- "relativeCreated": 83176.18417739868,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:17,279"
- }
- ],
- "time_consumption": 0.2980504035949707
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954697.578636,
- "msecs": 578.6359310150146,
- "relativeCreated": 83474.87831115723,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:17,578",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954697.5783963,
- "msecs": 578.3963203430176,
- "relativeCreated": 83474.63870048523,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:17,578"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954697.57853,
- "msecs": 578.5300731658936,
- "relativeCreated": 83474.7724533081,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:17,578"
- }
- ],
- "time_consumption": 0.00010585784912109375
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954697.5789912,
- "msecs": 578.991174697876,
- "relativeCreated": 83475.23355484009,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:17,578",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954697.578804,
- "msecs": 578.8040161132812,
- "relativeCreated": 83475.0463962555,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:17,578"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954697.5789053,
- "msecs": 578.9053440093994,
- "relativeCreated": 83475.14772415161,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:17,578"
- }
- ],
- "time_consumption": 8.58306884765625e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954697.8812175,
- "msecs": 881.2174797058105,
- "relativeCreated": 83777.45985984802,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:58:17,881",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954697.579262,
- "msecs": 579.2620182037354,
- "relativeCreated": 83475.50439834595,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/gfw/marion/main_light/state and payload false",
- "asctime": "2023-02-09 15:58:17,579"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954697.5803776,
- "msecs": 580.3775787353516,
- "relativeCreated": 83476.61995887756,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:17,580"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/marion/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954697.581994,
- "msecs": 581.9940567016602,
- "relativeCreated": 83478.23643684387,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/marion/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:58:17,581"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/gfw/marion/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954697.5823302,
- "msecs": 582.3302268981934,
- "relativeCreated": 83478.5726070404,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/gfw/marion/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:58:17,582"
- },
- {
- "name": "smart_brain.mqtt.shellies.gfw.marion.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/gfw/marion/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954697.5833795,
- "msecs": 583.3795070648193,
- "relativeCreated": 83479.62188720703,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/gfw/marion/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:58:17,583"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954697.629078,
- "msecs": 629.0779113769531,
- "relativeCreated": 83525.32029151917,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:17,629"
- },
- {
- "name": "smart_brain.mqtt.videv.gfw.marion.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/gfw/marion/main_light/__info__",
- "b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954697.6297915,
- "msecs": 629.7914981842041,
- "relativeCreated": 83526.03387832642,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/gfw/marion/main_light/__info__ and payload b'{\"__type__\": \"videv_switching\", \"state\": {\"control\": true, \"display\": true}}'",
- "asctime": "2023-02-09 15:58:17,629"
- }
- ],
- "time_consumption": 0.25142598152160645
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954697.881868,
- "msecs": 881.8678855895996,
- "relativeCreated": 83778.11026573181,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:17,881",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954697.8816276,
- "msecs": 881.6275596618652,
- "relativeCreated": 83777.86993980408,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:17,881"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954697.8817644,
- "msecs": 881.7644119262695,
- "relativeCreated": 83778.00679206848,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:17,881"
- }
- ],
- "time_consumption": 0.00010347366333007812
- }
- ],
- "time_consumption": 1.212954044342041,
- "time_start": "2023-02-09 15:58:16,668",
- "time_finished": "2023-02-09 15:58:17,881"
- },
- "Power On/ Off test for device and virtual device: shellies/stw/stairway/main_light": {
- "name": "__tLogger__",
- "msg": "Power On/ Off test for device and virtual device: shellies/stw/stairway/main_light",
- "args": null,
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 27,
- "funcName": "test_power_on_off",
- "created": 1675954697.8824096,
- "msecs": 882.4095726013184,
- "relativeCreated": 83778.65195274353,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Power On/ Off test for device and virtual device: shellies/stw/stairway/main_light",
- "asctime": "2023-02-09 15:58:17,882",
- "moduleLogger": [],
- "testcaseLogger": [
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954697.8828197,
- "msecs": 882.819652557373,
- "relativeCreated": 83779.06203269958,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:17,882",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954697.8826122,
- "msecs": 882.6122283935547,
- "relativeCreated": 83778.85460853577,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:17,882"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954697.8827264,
- "msecs": 882.7264308929443,
- "relativeCreated": 83778.96881103516,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:17,882"
- }
- ],
- "time_consumption": 9.322166442871094e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954698.1838956,
- "msecs": 183.89558792114258,
- "relativeCreated": 84080.13796806335,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:58:18,183",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/stw/stairway/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954697.8830545,
- "msecs": 883.0544948577881,
- "relativeCreated": 83779.296875,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/stw/stairway/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:58:17,883"
- },
- {
- "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/stw/stairway/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954697.8841388,
- "msecs": 884.138822555542,
- "relativeCreated": 83780.38120269775,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/stw/stairway/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:58:17,884"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/timer",
- "b'100'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954697.8869402,
- "msecs": 886.9402408599854,
- "relativeCreated": 83783.1826210022,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'100'",
- "asctime": "2023-02-09 15:58:17,886"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/__info__",
- "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954697.8876438,
- "msecs": 887.6438140869141,
- "relativeCreated": 83783.88619422913,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:17,887"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954697.8882332,
- "msecs": 888.2331848144531,
- "relativeCreated": 83784.47556495667,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:58:17,888"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/__info__",
- "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954697.8888168,
- "msecs": 888.8168334960938,
- "relativeCreated": 83785.0592136383,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:17,888"
- }
- ],
- "time_consumption": 0.29507875442504883
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954698.1845405,
- "msecs": 184.5405101776123,
- "relativeCreated": 84080.78289031982,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:18,184",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954698.1843038,
- "msecs": 184.30376052856445,
- "relativeCreated": 84080.54614067078,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:18,184"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954698.1844363,
- "msecs": 184.43632125854492,
- "relativeCreated": 84080.67870140076,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:18,184"
- }
- ],
- "time_consumption": 0.00010418891906738281
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954698.1849296,
- "msecs": 184.92960929870605,
- "relativeCreated": 84081.17198944092,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:18,184",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954698.1847432,
- "msecs": 184.74316596984863,
- "relativeCreated": 84080.98554611206,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:18,184"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954698.184843,
- "msecs": 184.8430633544922,
- "relativeCreated": 84081.0854434967,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:18,184"
- }
- ],
- "time_consumption": 8.654594421386719e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954698.4871702,
- "msecs": 487.1702194213867,
- "relativeCreated": 84383.4125995636,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:58:18,487",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954698.185239,
- "msecs": 185.23907661437988,
- "relativeCreated": 84081.48145675659,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/stw/stairway/main_light/state and payload false",
- "asctime": "2023-02-09 15:58:18,185"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.1863372,
- "msecs": 186.33723258972168,
- "relativeCreated": 84082.57961273193,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:18,186"
- },
- {
- "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/stw/stairway/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.1879907,
- "msecs": 187.99066543579102,
- "relativeCreated": 84084.233045578,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/stw/stairway/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:58:18,187"
- },
- {
- "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/stw/stairway/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954698.1884725,
- "msecs": 188.47250938415527,
- "relativeCreated": 84084.71488952637,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/stw/stairway/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:58:18,188"
- },
- {
- "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/stw/stairway/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.189379,
- "msecs": 189.3789768218994,
- "relativeCreated": 84085.62135696411,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/stw/stairway/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:58:18,189"
- },
- {
- "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/stw/stairway/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.2341828,
- "msecs": 234.18283462524414,
- "relativeCreated": 84130.42521476746,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/stw/stairway/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:58:18,234"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/timer",
- "b'0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.234919,
- "msecs": 234.91907119750977,
- "relativeCreated": 84131.16145133972,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'0'",
- "asctime": "2023-02-09 15:58:18,234"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/__info__",
- "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.2355404,
- "msecs": 235.54039001464844,
- "relativeCreated": 84131.78277015686,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:18,235"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.2360904,
- "msecs": 236.09042167663574,
- "relativeCreated": 84132.33280181885,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:18,236"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/__info__",
- "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.2366903,
- "msecs": 236.69028282165527,
- "relativeCreated": 84132.93266296387,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:18,236"
- }
- ],
- "time_consumption": 0.25047993659973145
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954698.487825,
- "msecs": 487.8249168395996,
- "relativeCreated": 84384.06729698181,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:18,487",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954698.4875855,
- "msecs": 487.58554458618164,
- "relativeCreated": 84383.8279247284,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:18,487"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954698.4877188,
- "msecs": 487.7188205718994,
- "relativeCreated": 84383.96120071411,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:18,487"
- }
- ],
- "time_consumption": 0.00010609626770019531
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954698.4881756,
- "msecs": 488.175630569458,
- "relativeCreated": 84384.41801071167,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:18,488",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954698.4879916,
- "msecs": 487.9915714263916,
- "relativeCreated": 84384.2339515686,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:18,487"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954698.4880896,
- "msecs": 488.08956146240234,
- "relativeCreated": 84384.33194160461,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:18,488"
- }
- ],
- "time_consumption": 8.606910705566406e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing switching device state to '%s'",
- "args": [
- true
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 36,
- "funcName": "__test_power_on_off__",
- "created": 1675954698.7892754,
- "msecs": 789.2754077911377,
- "relativeCreated": 84685.51778793335,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing switching device state to 'True'",
- "asctime": "2023-02-09 15:58:18,789",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/stw/stairway/main_light/relay/0",
- "on"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954698.4884045,
- "msecs": 488.4045124053955,
- "relativeCreated": 84384.64689254761,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/stw/stairway/main_light/relay/0 and payload on",
- "asctime": "2023-02-09 15:58:18,488"
- },
- {
- "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/stw/stairway/main_light/relay/0",
- "b'on'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.489541,
- "msecs": 489.54105377197266,
- "relativeCreated": 84385.78343391418,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/stw/stairway/main_light/relay/0 and payload b'on'",
- "asctime": "2023-02-09 15:58:18,489"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/timer",
- "b'100'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.4922426,
- "msecs": 492.24257469177246,
- "relativeCreated": 84388.48495483398,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'100'",
- "asctime": "2023-02-09 15:58:18,492"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/__info__",
- "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.5337996,
- "msecs": 533.7996482849121,
- "relativeCreated": 84430.04202842712,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:18,533"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/state",
- "b'true'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.5345316,
- "msecs": 534.5315933227539,
- "relativeCreated": 84430.77397346497,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/state and payload b'true'",
- "asctime": "2023-02-09 15:58:18,534"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/__info__",
- "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.5351264,
- "msecs": 535.1264476776123,
- "relativeCreated": 84431.36882781982,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:18,535"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/timer",
- "b'99'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.535636,
- "msecs": 535.6359481811523,
- "relativeCreated": 84431.87832832336,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'99'",
- "asctime": "2023-02-09 15:58:18,535"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/__info__",
- "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.5361493,
- "msecs": 536.149263381958,
- "relativeCreated": 84432.39164352417,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:18,536"
- }
- ],
- "time_consumption": 0.2531261444091797
- },
- {
- "name": "__tLogger__",
- "msg": "Virtual device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954698.7900276,
- "msecs": 790.0276184082031,
- "relativeCreated": 84686.26999855042,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Virtual device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:18,790",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Virtual device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954698.7897272,
- "msecs": 789.7272109985352,
- "relativeCreated": 84685.96959114075,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Virtual device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:18,789"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Virtual device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954698.789883,
- "msecs": 789.8828983306885,
- "relativeCreated": 84686.1252784729,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Virtual device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:18,789"
- }
- ],
- "time_consumption": 0.00014472007751464844
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "True",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954698.79042,
- "msecs": 790.4200553894043,
- "relativeCreated": 84686.66243553162,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content True and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:18,790",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954698.7902138,
- "msecs": 790.2138233184814,
- "relativeCreated": 84686.4562034607,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:18,790"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "True",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954698.7903285,
- "msecs": 790.3285026550293,
- "relativeCreated": 84686.57088279724,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = True (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:18,790"
- }
- ],
- "time_consumption": 9.1552734375e-05
- },
- {
- "name": "__tLogger__",
- "msg": "Changing virtual device state to '%s'",
- "args": [
- false
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/tests/light.py",
- "filename": "light.py",
- "module": "light",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 42,
- "funcName": "__test_power_on_off__",
- "created": 1675954699.092641,
- "msecs": 92.64111518859863,
- "relativeCreated": 84988.88349533081,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Changing virtual device state to 'False'",
- "asctime": "2023-02-09 15:58:19,092",
- "moduleLogger": [
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.state",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/state",
- "false"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954698.7907054,
- "msecs": 790.7054424285889,
- "relativeCreated": 84686.9478225708,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic videv/stw/stairway/main_light/state and payload false",
- "asctime": "2023-02-09 15:58:18,790"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.791805,
- "msecs": 791.8050289154053,
- "relativeCreated": 84688.04740905762,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:18,791"
- },
- {
- "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/stw/stairway/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.7933617,
- "msecs": 793.3616638183594,
- "relativeCreated": 84689.60404396057,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/stw/stairway/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:58:18,793"
- },
- {
- "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0",
- "msg": "Sending message with topic %s and payload %s",
- "args": [
- "shellies/stw/stairway/main_light/relay/0",
- "off"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 75,
- "funcName": "send",
- "created": 1675954698.79387,
- "msecs": 793.8699722290039,
- "relativeCreated": 84690.11235237122,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Sending message with topic shellies/stw/stairway/main_light/relay/0 and payload off",
- "asctime": "2023-02-09 15:58:18,793"
- },
- {
- "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/stw/stairway/main_light/relay/0",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.794746,
- "msecs": 794.745922088623,
- "relativeCreated": 84690.98830223083,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/stw/stairway/main_light/relay/0 and payload b'off'",
- "asctime": "2023-02-09 15:58:18,794"
- },
- {
- "name": "smart_brain.mqtt.shellies.stw.stairway.main_light.relay.0.command",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "shellies/stw/stairway/main_light/relay/0/command",
- "b'off'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.8381271,
- "msecs": 838.1271362304688,
- "relativeCreated": 84734.36951637268,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic shellies/stw/stairway/main_light/relay/0/command and payload b'off'",
- "asctime": "2023-02-09 15:58:18,838"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.timer",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/timer",
- "b'0'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.8388934,
- "msecs": 838.8934135437012,
- "relativeCreated": 84735.13579368591,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/timer and payload b'0'",
- "asctime": "2023-02-09 15:58:18,838"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/__info__",
- "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.8395193,
- "msecs": 839.5192623138428,
- "relativeCreated": 84735.76164245605,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:18,839"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.state",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/state",
- "b'false'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.840071,
- "msecs": 840.0709629058838,
- "relativeCreated": 84736.3133430481,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/state and payload b'false'",
- "asctime": "2023-02-09 15:58:18,840"
- },
- {
- "name": "smart_brain.mqtt.videv.stw.stairway.main_light.__info__",
- "msg": "Received message with topic %s and payload %s",
- "args": [
- "videv/stw/stairway/main_light/__info__",
- "b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/mqtt/__init__.py",
- "filename": "__init__.py",
- "module": "__init__",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 91,
- "funcName": "__receive__",
- "created": 1675954698.840635,
- "msecs": 840.6350612640381,
- "relativeCreated": 84736.87744140625,
- "thread": 139894051313216,
- "threadName": "Thread-1 (_thread_main)",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Received message with topic videv/stw/stairway/main_light/__info__ and payload b'{\"__type__\": \"videv_switching_motion\", \"state\": {\"control\": true, \"display\": true}, \"timer\": {\"display\": true}, \"motion_0\": {\"display\": true}, \"motion_1\": {\"display\": true}}'",
- "asctime": "2023-02-09 15:58:18,840"
- }
- ],
- "time_consumption": 0.25200605392456055
- },
- {
- "name": "__tLogger__",
- "msg": "Switching device state is correct (Content %s and Type is %s).",
- "args": [
- "False",
- "<class 'bool'>"
- ],
- "levelname": "INFO",
- "levelno": 20,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 184,
- "funcName": "equivalency_chk",
- "created": 1675954699.093295,
- "msecs": 93.29509735107422,
- "relativeCreated": 84989.53747749329,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Switching device state is correct (Content False and Type is <class 'bool'>).",
- "asctime": "2023-02-09 15:58:19,093",
- "moduleLogger": [
- {
- "name": "__unittest__",
- "msg": "Result (%s): %s (%s)",
- "args": [
- "Switching device state",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 22,
- "funcName": "__report_result__",
- "created": 1675954699.093011,
- "msecs": 93.01090240478516,
- "relativeCreated": 84989.253282547,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Result (Switching device state): False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:19,093"
- },
- {
- "name": "__unittest__",
- "msg": "Expectation (%s): result %s %s (%s)",
- "args": [
- "Switching device state",
- "=",
- "False",
- "<class 'bool'>"
- ],
- "levelname": "DEBUG",
- "levelno": 10,
- "pathname": "/home/dirk/my_repositories/smarthome/smart_brain_test/unittest/test.py",
- "filename": "test.py",
- "module": "test",
- "exc_info": null,
- "exc_text": null,
- "stack_info": null,
- "lineno": 26,
- "funcName": "__report_expectation__",
- "created": 1675954699.0931652,
- "msecs": 93.16515922546387,
- "relativeCreated": 84989.40753936768,
- "thread": 139894075555840,
- "threadName": "MainThread",
- "processName": "MainProcess",
- "process": 59129,
- "message": "Expectation (Switching device state): result = False (<class 'bool'>)",
- "asctime": "2023-02-09 15:58:19,093"
- }
- ],
- "time_consumption": 0.00012993812561035156
- }
- ],
- "time_consumption": 1.2108855247497559,
- "time_start": "2023-02-09 15:58:17,882",
- "time_finished": "2023-02-09 15:58:19,093"
- }
- },
- "uid_list_sorted": [
- "Power On/ Off test for device and virtual device: zigbee/ffe/diningroom/powerplug_floorlamp",
- "Power On/ Off test for device and virtual device: shellies/ffe/diningroom/main_light",
- "Power On/ Off synchronisation test: shellies/ffe/diningroom/main_light",
- "Power On/ Off test for device and virtual device: shellies/ffe/floor/main_light",
- "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/circulation_pump",
- "Power On/ Off test for device and virtual device: shellies/ffe/kitchen/main_light",
- "Brightness test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1",
- "Color temperature test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1",
- "Power On/ Off test for device and virtual device: zigbee/ffe/livingroom/floorlamp_1",
- "Brightness test for device and virtual device: zigbee/ffe/livingroom/main_light",
- "Color temperature test for device and virtual device: zigbee/ffe/livingroom/main_light",
- "Power On/ Off test for device and virtual device: shellies/ffe/livingroom/main_light",
- "Brightness synchronisation test: videv/ffe/livingroom/floorlamp",
- "Color temperature synchronisation test: videv/ffe/livingroom/floorlamp",
- "Power On/ Off synchronisation test: shellies/ffe/livingroom/main_light",
- "Brightness test for device and virtual device: zigbee/ffe/sleep/bed_light_di",
- "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_di",
- "Power On/ Off test for device and virtual device: zigbee/ffe/sleep/bed_light_ma",
- "Away mode test: zigbee/ffe/sleep/heating_valve",
- "Boost mode test: zigbee/ffe/sleep/heating_valve",
- "Default temperature test for device and virtual device: zigbee/ffe/sleep/heating_valve",
- "Summer mode test: zigbee/ffe/sleep/heating_valve",
- "User temperature setpoint test for device and virtual device: zigbee/ffe/sleep/heating_valve",
- "Brightness test for device and virtual device: zigbee/ffe/sleep/main_light",
- "Color temperature test for device and virtual device: zigbee/ffe/sleep/main_light",
- "Power On/ Off test for device and virtual device: shellies/ffe/sleep/main_light",
- "Away mode test: zigbee/ffw/bath/heating_valve",
- "Boost mode test: zigbee/ffw/bath/heating_valve",
- "Default temperature test for device and virtual device: zigbee/ffw/bath/heating_valve",
- "Summer mode test: zigbee/ffw/bath/heating_valve",
- "User temperature setpoint test for device and virtual device: zigbee/ffw/bath/heating_valve",
- "Brightness test for device and virtual device: zigbee/ffw/julian/main_light",
- "Color temperature test for device and virtual device: zigbee/ffw/julian/main_light",
- "Power On/ Off test for device and virtual device: shellies/ffw/julian/main_light",
- "Brightness test for device and virtual device: zigbee/ffw/livingroom/main_light",
- "Color temperature test for device and virtual device: zigbee/ffw/livingroom/main_light",
- "Power On/ Off test for device and virtual device: shellies/ffw/livingroom/main_light",
- "Brightness test for device and virtual device: zigbee/ffw/sleep/main_light",
- "Power On/ Off test for device and virtual device: shellies/ffw/sleep/main_light",
- "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/1",
- "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/3",
- "Power On/ Off synchronisation test: my_apps/gfw/dirk/powerplug/output/3",
- "Brightness test for device and virtual device: zigbee/gfw/dirk/desk_light",
- "Color temperature test for device and virtual device: zigbee/gfw/dirk/desk_light",
- "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/2",
- "Away mode test: zigbee/gfw/dirk/heating_valve",
- "Boost mode test: zigbee/gfw/dirk/heating_valve",
- "Default temperature test for device and virtual device: zigbee/gfw/dirk/heating_valve",
- "Summer mode test: zigbee/gfw/dirk/heating_valve",
- "User temperature setpoint test for device and virtual device: zigbee/gfw/dirk/heating_valve",
- "Brightness test for device and virtual device: zigbee/gfw/dirk/main_light",
- "Color temperature test for device and virtual device: zigbee/gfw/dirk/main_light",
- "Power On/ Off test for device and virtual device: shellies/gfw/dirk/main_light",
- "Power On/ Off test for device and virtual device: my_apps/gfw/dirk/powerplug/output/4",
- "Brightness test for device and virtual device: zigbee/gfw/floor/main_light_1",
- "Color temperature test for device and virtual device: zigbee/gfw/floor/main_light_1",
- "Power On/ Off test for device and virtual device: shellies/gfw/floor/main_light",
- "Brightness synchronisation test: videv/gfw/floor/main_light",
- "Color temperature synchronisation test: videv/gfw/floor/main_light",
- "Power On/ Off synchronisation test: shellies/gfw/floor/main_light",
- "Away mode test: zigbee/gfw/marion/heating_valve",
- "Boost mode test: zigbee/gfw/marion/heating_valve",
- "Default temperature test for device and virtual device: zigbee/gfw/marion/heating_valve",
- "Summer mode test: zigbee/gfw/marion/heating_valve",
- "User temperature setpoint test for device and virtual device: zigbee/gfw/marion/heating_valve",
- "Power On/ Off test for device and virtual device: shellies/gfw/marion/main_light",
- "Power On/ Off test for device and virtual device: shellies/stw/stairway/main_light"
- ],
- "system_information": {
- "Architecture": "64bit",
- "Machine": "x86_64",
- "Hostname": "ahorn",
- "Distribution": "Linux Mint 21.1 (vera)",
- "System": "Linux",
- "Kernel": "5.15.0-60-generic (#66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023)",
- "Username": "dirk",
- "Path": "/home/dirk/my_repositories/smarthome/smart_brain_test"
- },
- "testobject_information": {
- "app_name": "smart_brain",
- "version": {
- "readable": "1.0.1",
- "major": 1,
- "minor": 0,
- "patch": 1
- },
- "git": {
- "url": "https://git.mount-mockery.de/smarthome/smart_brain.git",
- "ref": "0b74ff04c9f3cb8c2608c2bcc2ba7759195ea5f8"
- }
- }
- }
|